hi, since a few hours i get an error "protocol negotiation failed" "SMB connection failed" while mounting with smbclient //ip-adress/share mount -t smbfs -o username=user,password=pwd //ip-adress/share /mnt/smb the same commands are working since ~1 year via scripts/console ping, nmap, telnet <open_ports>, ... without problems 137/udp open netbios-ns 138/udp open netbios-dgm 139/tcp open netbios-ssn server: w2k-server sp2 linux-clients rhl 7.3 samba-2.2.3a-6 i will try an update, but i think without luck google, mailinglists, ... nothing found :-( -- shrek-m
shrek-m@gmx.de schrieb:> 137/udp open netbios-ns > 138/udp open netbios-dgm > 139/tcp open netbios-ssn445/tcp open microsoft-ds> server: > w2k-server sp2 > > linux-clients > rhl 7.3 > samba-2.2.3a-6 > > > i will try an update, but i think without luckno luck $ smbclient //172.16.1.2/c$ -d10 <snip> Connecting to 172.16.1.2 at port 139 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 0 socket option SO_BROADCAST = 0 socket option TCP_NODELAY = 1 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 16384 socket option SO_RCVBUF = 16384 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 write_socket(3,72) write_socket(3,72) wrote 72 Sent session request got smb length of 0 size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 session request ok write_socket(3,168) write_socket(3,168) wrote 168 read_socket_with_timeout: timeout read. select timed out. receive_smb: length < 0 ! client_receive_smb failed size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 protocol negotiation failed </snip> timeout!! $ telnet 172.16.1.2 139 Trying 172.16.1.2... Connected to 172.16.1.2. Escape character is '^]'. ... 30 sec ... Connection closed by foreign host. i think i have to reboot the w2k-server ;-) port 3306, 80, ... are working without problems -- shrek-m
shrek-m@gmx.de schrieb:> i think i have to reboot the w2k-server ;-)the windows-clients had the same problems i rebooted the w2k-server -> bluescreen --> last-known-good solved all the problems ;-) $ smbclient //172.16.1.2/c$ -dA <snip> session request ok write_socket(3,168) write_socket(3,168) wrote 168 got smb length of 107 size=107 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=14331 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=7 (0x7) smb_vwv[1]=12803 (0x3203) smb_vwv[2]=256 (0x100) smb_vwv[3]=1024 (0x400) smb_vwv[4]=65 (0x41) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=64768 (0xFD00) smb_vwv[10]=243 (0xF3) smb_vwv[11]=46080 (0xB400) smb_vwv[12]=61582 (0xF08E) smb_vwv[13]=26182 (0x6646) smb_vwv[14]=49955 (0xC323) smb_vwv[15]=34817 (0x8801) smb_vwv[16]=2303 (0x8FF) smb_bcc=38 [000] A9 44 61 74 00 28 6A D3 4F 00 47 00 4D 00 41 00 .Dat.(j. O.G.M.A. [010] 49 00 4E 00 00 00 53 00 45 00 52 00 56 00 45 00 I.N...S. E.R.V.E. [020] 52 00 31 00 00 00 R.1... size=107 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=14331 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=7 (0x7) smb_vwv[1]=12803 (0x3203) smb_vwv[2]=256 (0x100) smb_vwv[3]=1024 (0x400) smb_vwv[4]=65 (0x41) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=64768 (0xFD00) smb_vwv[10]=243 (0xF3) smb_vwv[11]=46080 (0xB400) smb_vwv[12]=61582 (0xF08E) smb_vwv[13]=26182 (0x6646) smb_vwv[14]=49955 (0xC323) smb_vwv[15]=34817 (0x8801) smb_vwv[16]=2303 (0x8FF) smb_bcc=38 [000] A9 44 61 74 00 28 6A D3 4F 00 47 00 4D 00 41 00 .Dat.(j. O.G.M.A. [010] 49 00 4E 00 00 00 53 00 45 00 52 00 56 00 45 00 I.N...S. E.R.V.E. [020] 52 00 31 00 00 00 R.1... Password: bye -- shrek-m