*first logon*
$ smbclient -L deb-8-t1 -U test02%qq
WARNING: The "syslog" option is deprecated
session setup failed: NT_STATUS_UNSUCCESSFUL
*second logon*
$ smbclient -L deb-8-t1 -U test02%qq
WARNING: The "syslog" option is deprecated
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.3.6-Debian]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.3.6-Debian)
test02 Disk Home Directories
The second logon works always!
Seems that smbpasswd still have some problems,
even if I use the latest samba version. May be,
that the default debian setup for samba does not
full fill all requirements to make it.
I have Jessie installed with a netinst image as described
yesterday in "Samba 4.3.6".
$ testparm -s --section-name global
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
# Global parameters
[global]
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n
*password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
Here the userdata
# tdbdump /var/lib/samba/private/passdb.tdb
{
key(13) = "RID_000003e8\00"
data(7) = "test01\00"
}
{
key(13) = "RID_000003e9\00"
data(7) = "test02\00"
}
{
key(19) = "INFO/minor_version\00"
data(4) = "\00\00\00\00"
}
{
key(9) = "NEXT_RID\00"
data(4) = "\EA\03\00\00"
}
{
key(12) = "USER_test01\00"
data(188) =
"\00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00\AAB\E1V\00\00\00\00\7F\A9T|\07\00\00\00test01\00\09\00\00\00DEB-8-
T1\00\01\00\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\E8\03\00\00\01\02\00\00\00\00\00\00\10\00\00\00\BB[\C6\AE(^A@|
\E32\DC\0F\05\B0\FD\00\00\00\00\10\00\00\00\A8\00\15\00\00\00
\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00"
}
{
key(12) = "USER_test02\00"
data(188) =
"\00\00\00\00\7F\A9T|\7F\A9T|\00\00\00\00jD\E1V\00\00\00\00\7F\A9T|\07\00\00\00test02\00\09\00\00\00DEB-8-
T1\00\01\00\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\01\00\00\00\00\E9\03\00\00\01\02\00\00\00\00\00\00\10\00\00\00\BB[\C6\AE(^A@|
\E32\DC\0F\05\B0\FD\00\00\00\00\10\00\00\00\A8\00\15\00\00\00
\00\00\00\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\EC\04\00\00"
}
{
key(13) = "INFO/version\00"
data(4) = "\04\00\00\00"
}
--
Regards
Harry Jede