[Samba] No connection after upgrade to 3.2.0

Michael Lang michel at langmic.de
Wed Jul 23 20:47:43 GMT 2008


Hello,

I already worked with Samba (3.0.?) several month now on my NSLU2 with 
SlugOS BE. A few days ago the version was updated to 3.2.0 and no 
connection was possible afterwards. I searched the net but without 
relevant hits.

I've created a new config file from scratch but got the same error again:

root at LKG65AAA4:~$ netstat -an  |egrep ':(137|138|139|445)'
netstat: no support for `AF INET6 (tcp)' on this system.
netstat: no support for `AF INET6 (udp)' on this system.
netstat: no support for `AF INET6 (raw)' on this system.
tcp        0      0 0.0.0.0:139             0.0.0.0:*     LISTEN
tcp        0      0 0.0.0.0:445             0.0.0.0:*     LISTEN
udp        0      0 192.168.1.77:137        0.0.0.0:*
udp        0      0 0.0.0.0:137             0.0.0.0:*
udp        0      0 192.168.1.77:138        0.0.0.0:*
udp        0      0 0.0.0.0:138             0.0.0.0:*

root at LKG65AAA4:~$ /opt/bin/testparm
Load smb config files from /opt/etc/samba/smb.conf
Processing section "[public]"
Module '/opt/lib/charset/CP850.so' loaded
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
     workgroup = LANGMIC
[public]
     comment = Public Share
     path = /mnt/mydata/samba/public
     read only = No

root at LKG65AAA4:~$ /opt/bin/smbclient -L localhost -N -d5
INFO: Current debug levels:
   all: True/5
   tdb: False/0
   printdrivers: False/0
   lanman: False/0
   smb: False/0
   rpc_parse: False/0
   rpc_srv: False/0
   rpc_cli: False/0
   passdb: False/0
   sam: False/0
   auth: False/0
   winbind: False/0
   vfs: False/0
   idmap: False/0
   quota: False/0
   acls: False/0
   locking: False/0
   msdfs: False/0
   dmapi: False/0
   registry: False/0
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file 
"/opt/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = LANGMIC
doing parameter encrypt passwords = yes
pm_process() returned Yes
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Probing module 'CP850'
Probing module 'CP850': Trying to load from /opt/lib/charset/CP850.so
Module '/opt/lib/charset/CP850.so' loaded
Attempting to register new charset CP850
Registered charset CP850
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
added interface eth0 ip=192.168.1.77 bcast=192.168.1.255 
netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="LKG65AAA4"
Client started (version 3.2.0).
Opening cache file at /opt/var/samba/gencache.tdb
sitename_fetch: No stored sitename for
name localhost#20 found.
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Substituting charset 'ANSI_X3.4-1968' for LOCALE
Connecting to 127.0.0.1 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 50352
socket option SO_RCVBUF = 87380
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
  session request ok
size=37
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=1109
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[ 0]=65535 (0xFFFF)
smb_bcc=0
size=37
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=1109
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[ 0]=65535 (0xFFFF)
smb_bcc=0
protocol negotiation failed


root at LKG65AAA4:~$ /opt/bin/nmblookup -B localhost __SAMBA__
querying __SAMBA__ on 127.0.0.1
192.168.1.77 __SAMBA__<00>


I tried to find the error myself by checking Chapter 12 "Troubleshooting 
Samba" of "Using Samba 3rd edition" without success.

Is there anything wrong with my installation which leads to the 
"protocol negotiation failed" error?

Thank you in advance,
Michael






More information about the samba mailing list