Thomas Hahn
2010-Jul-31 21:33 UTC
[Samba] Beginner setting up samba: NT_STATUS_LOGON_FAILURE
Hello, 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=192.168.1.48 bcast=192.168.1.255 netmask=255.255.255.0 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 127.0.0.1 at port 445 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=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
Daniel Müller
2010-Aug-01 13:53 UTC
[Samba] Beginner setting up samba: NT_STATUS_LOGON_FAILURE
On Sat, 31 Jul 2010 23:33:12 +0200, thahn01 at t-online.de (Thomas Hahn) wrote:> Hello, > 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=192.168.1.48 bcast=192.168.1.255 > netmask=255.255.255.0 > Client started (version 3.4.8). > Enter tom's password:Hello, did you a smbpasswd -a root? Or are simply the rights wrong for the path:/var/run/samba/ try to chmod or chown. Or set your interfaces in your global section do 127.0.0.1 and your eth0 Greetings Daniel> tdb(unnamed): tdb_open_ex: could not open file > /var/run/samba/gencache.tdb: Permission denied > Connecting to 127.0.0.1 at port 445 > 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=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