total 416
-rw-r--r-- 1 root root 40200 Aug 1 18:26 brlock.tdb
-rw-r--r-- 1 root root 90112 Aug 1 19:29 connections.tdb
-rw-r--r-- 1 root root 12288 Aug 1 18:28 gencache.tdb
-rw-r--r-- 1 root root 65536 Aug 1 19:29 locking.tdb
-rw------- 1 root root 696 Aug 1 18:26 messages.tdb
-rw-r--r-- 1 root root 6 Aug 1 18:26 nmbd.pid
-rw-r--r-- 1 root root 696 Aug 1 19:26 notify.tdb
-rw-r--r-- 1 root root 163840 Aug 1 19:26 sessionid.tdb
-rw-r--r-- 1 root root 6 Aug 1 18:26 smbd.pid
-rw-r--r-- 1 root root 32768 Aug 1 19:28 unexpected.tdb
drwxr-xr-x 2 root root 4096 Jul 20 07:54 upgrades
and that /var/run/samba/gencache.tdb cannot be opened is not a
real problem.
> > 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
What is strange is, that passwd in /etc/passwd and the one's for samba
are not synchronized, which I expected to be natural looking at my
/etc/samba/smb.conf of that debian box:
...
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix
account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan at
informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
%n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
...
I am happy I can use it now.
Thomas
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba