[Samba] Beginner setting up samba: NT_STATUS_LOGON_FAILURE

Thomas Hahn thahn01 at t-online.de
Sat Jul 31 15:33:12 MDT 2010

I am trying to set up samba on this host and testing it locally
is giving me headaches right away.

tom at hversa:~:~$ smbclient -L localhost -U%
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]

        Sharename       Type      Comment
        ---------       ----      -------
        homes           Disk      Home Directories
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (hversa server)
        e250dn          Printer   Lexmark printer Ksenia
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.8]

        Server               Comment
        ---------            -------
        HVERSA               hversa server

        Workgroup            Master
        ---------            -------
        DERU_WICO001         OCHENTA
        WORKGROUP            HVERSA

So, there is sth. configured, BUT:

tom at hversa:/var/log/samba$ smbclient //hversa/tom -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface eth0 ip=fe80::224:1dff:fedc:c0c1%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip= bcast= netmask=
Client started (version 3.4.8).
Enter tom's password: 
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied
Connecting to at port 445
Doing spnego session setup (blob length=58)
got OID=
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a8215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE

I have googled for the NT_STATUS_LOGON_FAILURE but this didn't help me.

Any hints please ...

Thanks Thomas

More information about the samba mailing list