samba 2.0.x does not work with security=server?

Greg Dickie greg at discreet.com
Thu Apr 1 12:48:36 GMT 1999


Hi,


  I been having a lot of problems where peoples connections just seem to drop
out and not come back. This is happening with samba 2.0.x on IRIX 6.4. My samba
machine has:

security = server
password server = dublin_enc
encrypt passwords = yes

and so last night I cranked up the debug level and got the following. It looks
like smbd loses the connection and tries to pick it up again (normal so far)
but in anything other than security = share, it fails miserably.

So I believe there are actually 2 problems, one is that the session drops out
(although there seems to be decent code to handle that in clientgen.c so maybe
that's normal) and then it cannot reconnect gracefully. People are losing work
because of this so I'd like to figure out how to fix it.

Anyone have any ideas?

Thanks,
Greg


[1999/03/31 23:26:19, 0] lib/util_sock.c:(407)
  write_data: write failure. Error = Broken pipe
[1999/03/31 23:26:19, 0] lib/util_sock.c:(190)
  write_socket: Error writing 118 bytes to socket 9: ERRNO = Broken pipe
[1999/03/31 23:26:19, 5] libsmb/clientgen.c:(2588)
  cli_reestablish_connection: CUBA<00> connecting to DUBLIN_ENC<20> (ip
192.168.60.32) - jdilelle []
[1999/03/31 23:26:19, 5] libsmb/clientgen.c:(2618)
  cli_establish_connection: CUBA<00> connecting to DUBLIN_ENC<20>
(192.168.60.32) - jdilelle []
[1999/03/31 23:26:19, 3] lib/util_sock.c:(711)
  Connecting to 192.168.60.32 at port 139
[1999/03/31 23:26:19, 5] libsmb/clientgen.c:(2321)
  Sent session request
[1999/03/31 23:26:19, 5] lib/util.c:(452)
  size=0
  smb_com=0x0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=0
[1999/03/31 23:26:19, 5] lib/util.c:(460)
  smb_tid=0
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=0
[1999/03/31 23:26:19, 5] lib/util.c:(475)
  smb_bcc=0
[1999/03/31 23:26:19, 5] lib/util.c:(452)
  size=86
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[1999/03/31 23:26:19, 5] lib/util.c:(460)
  smb_tid=0
  smb_pid=25978
  smb_uid=100
  smb_mid=1
  smt_wct=17
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[0]=6 (0x6)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[1]=12803 (0x3203)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[2]=256 (0x100)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[3]=65280 (0xFF00)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[4]=255 (0xFF)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[5]=0 (0x0)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[6]=256 (0x100)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[7]=24576 (0x6000)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[8]=51 (0x33)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[9]=14592 (0x3900)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[10]=3 (0x3)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[11]=32768 (0x8000)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[12]=3559 (0xDE7)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[13]=63434 (0xF7CA)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[14]=48763 (0xBE7B)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[15]=11265 (0x2C01)
[1999/03/31 23:26:19, 5] lib/util.c:(469)
  smb_vwv[16]=2049 (0x801)
[1999/03/31 23:26:19, 5] lib/util.c:(475)
  smb_bcc=17
[1999/03/31 23:26:19, 5] lib/util.c:(452)
  size=35
  smb_com=0x73
  smb_rcls=2
  smb_reh=0
  smb_err=2
  smb_flg=136
  smb_flg2=1
[1999/03/31 23:26:19, 5] lib/util.c:(460)
  smb_tid=0
  smb_pid=25978
  smb_uid=100
  smb_mid=1
  smt_wct=0
[1999/03/31 23:26:19, 5] lib/util.c:(475)
  smb_bcc=0
[1999/03/31 23:26:19, 5] lib/util.c:(452)
  size=35
  smb_com=0x73
  smb_rcls=2
  smb_reh=0
  smb_err=2
  smb_flg=136
  smb_flg2=1
[1999/03/31 23:26:19, 5] lib/util.c:(460)
  smb_tid=0
  smb_pid=25978
  smb_uid=100
  smb_mid=1
  smt_wct=0
[1999/03/31 23:26:19, 5] lib/util.c:(475)
  smb_bcc=0
[1999/03/31 23:26:19, 1] libsmb/clientgen.c:(2716)
  failed session setup
[1999/03/31 23:26:19, 0] libsmb/clientgen.c:(72)
  Error writing 118 bytes to client. -1. Exiting     <-- UH-OH



---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet (the logic is gone)
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list