Dennis Clarke
2008-Jul-26 17:35 UTC
[Samba] smbclient ( 3.0.31 ) can not connect to 3.2.0 server and vice versa
This is getting real tough to debug. titan : Solaris 8 running samba 3.0.31 aequitas : OpenSolaris running samba 3.2.0 I can do basics test just fine : # /usr/xpg4/bin/date -u;/opt/csw/bin/findsmb Sat Jul 12 22:50:51 GMT 2008 *=DMB +=LMB IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION --------------------------------------------------------------------- 192.168.35.42 TITAN [CSWSAMBA] [Unix] [Samba 3.0.31] 192.168.35.147 AEQUITAS [CSWSAMBA] [Unix] [Samba 3.2.0] # /usr/xpg4/bin/date -u;/opt/csw/bin/smbclient -L AEQUITAS Sat Jul 12 22:51:46 GMT 2008 Password: Domain=[CSWSAMBA] OS=[Unix] Server=[Samba 3.2.0] Sharename Type Comment --------- ---- ------- os200805 Disk writable share tmp Disk temporary files IPC$ IPC IPC Service (Samba 3.2.0) Domain=[CSWSAMBA] OS=[Unix] Server=[Samba 3.2.0] Server Comment --------- ------- Workgroup Master --------- ------- # /usr/xpg4/bin/date -u;/opt/csw/bin/nmblookup -B AEQUITAS __SAMBA__ Sat Jul 12 22:52:47 GMT 2008 querying __SAMBA__ on 192.168.35.147 192.168.35.147 __SAMBA__<00> # /usr/xpg4/bin/date -u;/opt/csw/bin/nmblookup -B ACLIENT '*' Sat Jul 12 22:53:29 GMT 2008 querying * on 0.0.0.0 192.168.35.42 *<00> # /usr/xpg4/bin/date -u;/opt/csw/bin/nmblookup -B ACLIENT '*' Sat Jul 12 22:53:45 GMT 2008 querying * on 0.0.0.0 192.168.35.42 *<00> # /usr/xpg4/bin/date -u;/opt/csw/bin/nmblookup -d 2 '*' Sat Jul 12 22:54:27 GMT 2008 added interface ip=192.168.35.42 bcast=192.168.35.255 nmask=255.255.255.0 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 querying * on 192.168.35.255 Got a positive name query response from 192.168.35.42 ( 192.168.35.42 ) Got a positive name query response from 192.168.35.147 ( 192.168.35.147 ) 192.168.35.147 *<00> 192.168.35.42 *<00> # /opt/csw/bin/smbpasswd smbtest New SMB password: Retype new SMB password: But I can not connect to a [tmp] share on the 3.2.0 server. The share [tmp] is defined thus : [tmp] comment = temporary files path = /tmp read only = yes attempt to connect to it fail : # /usr/xpg4/bin/date -u;/opt/csw/bin/smbclient -d 2 -U smbtest //AEQUITAS/TMP Sat Jul 12 23:26:52 GMT 2008 added interface ip=192.168.35.42 bcast=192.168.35.255 nmask=255.255.255.0 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Password: Domain=[CSWSAMBA] OS=[Unix] Server=[Samba 3.2.0] Server not using user level security and no password supplied. tree connect failed: NT_STATUS_WRONG_PASSWORD I try the reverse from the machine running 3.2.0 [ hostname aequitas ] and I get a similar result -bash-3.2# /usr/xpg4/bin/date -u;/opt/csw/bin/smbclient -d 2 -U smbtest //TITAN/share042 Sat Jul 12 23:27:56 GMT 2008 added interface rge0 ip=192.168.35.147 bcast=192.168.35.255 netmask=255.255.255.0 added interface lo0 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 Enter smbtest's password: Domain=[CSWSAMBA] OS=[Unix] Server=[Samba 3.0.31] Server not using user level security and no password supplied. Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled tree connect failed: SUCCESS - 0 I have a complete trace of the packet traffic. 3.0.31 client attempts to connect to 3.2.0 server : http://www.blastwave.org/dclarke/stuff/samba/smb3.2.0_traffic.txt 3.2.0 client attempts to connect to a chare on the 3.0.31 server : http://www.blastwave.org/dclarke/stuff/samba/smb3.0.31_traffic.txt I'm baffled. any thoughts ? Dennis