[Samba] Smbclient - protocol negotiation failed

Philip Burrow philburrow at blueyonder.co.uk
Wed Feb 23 17:01:45 GMT 2005


Hi

I just built samba 3.0.11 RPM's from the SRPM provided on samba.org. I'm 
using Fedora 1, 2.4 kernel.

smbclient is causing me an unusual problem. When I start smbd and nmbd 
and issue: smbclient -d3 -L localhost, I see the following:

smbclient -d3 -L localhost
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=10.0.3.1 bcast=10.0.3.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Client started (version 3.0.11).
resolve_hosts: Attempting host lookup for name localhost<0x20>
Connecting to 127.0.0.1 at port 445
Password:
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
SPNEGO login failed: Logon failure
Anonymous login successful
Domain=[INGHAMS] OS=[Unix] Server=[Samba 3.0.11]

         Sharename       Type      Comment
         ---------       ----      -------
         netlogon        Disk      Network Logon Service
         print$          Disk      Printer Drivers Share
         pub             Disk
         IPC$            IPC       IPC Service (My PDC (Samba 3.0.11))
         ADMIN$          IPC       IPC Service (My PDC (Samba 3.0.11))
Connecting to 127.0.0.1 at port 139
session request to LOCALHOST failed (Call returned zero bytes (EOF))
Connecting to 127.0.0.1 at port 139
session request to *SMBSERVER failed (Call returned zero bytes (EOF))
NetBIOS over TCP disabled -- no workgroup available

Then if I try it again I see this:

smbclient -d3 -L localhost
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=10.0.3.1 bcast=10.0.3.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Client started (version 3.0.11).
Connecting to 127.0.0.1 at port 445
protocol negotiation failed

If I name the samba server I see exactly the same. Any clues to this? It 
happens every time.

If required I'll gladly post any config stuff needed to resolve this.

Thanks for any hints,

Phil


More information about the samba mailing list