[Samba-it] user xyz cannot change password now
Alessio Cecchi
alessice at aruba.it
Thu Nov 11 18:25:01 MST 2004
Salve
Su un sistema Linux RH 9 con samba 3.0.6, che fa da PDC, gli utenti si
trovano impossibilitati a cambiare le password, tramite CTRL+ALT+CANC
dai client Windows XP.
Nei log vedo quanto segue:
smbd/chgpasswd.c:change_oem_password(1017)
user xyz cannot change password now, must wait until mar, 11 gen 2005
10:12:12 GMT
Le password sono sincronizzate con gli account Linux, il backend è tdbsam.
I dati dell'account Linux
# chage -l xyz
Minimum: 0
Maximum: 60
Warning: 15
Inactive: -1
Last Change: ott 28, 2004
Password Expires: dic 27, 2004
Password Inactive: Never
Account Expires: gen 03, 2005
Ecco un pezzo si smb.conf
[global]
log file = /var/log/samba/log.%m
passwd chat debug = Yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon drive = j:
username map = /etc/samba/smbusers
domain master = yes
hosts allow = 192.168.0. 127.
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
wins support = yes
dns proxy = No
server string = Server
printing = lprng
logon script = %u.bat
message command = /usr/bin/LinPopUp
unix password sync = yes
local master = yes
logon path = \\%N\Profiles\%u
workgroup = ILMIO
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false
-M %u
security = user
max log size = 50
domain logons = Yes
utmp = Yes
passdb backend = tdbsam:/etc/samba/users.tdb
Ho già controllato in giro, ho trovato questo riferimento:
http://lists.samba.org/archive/samba-technical/2004-April/035463.html
Potrebbe essere il problema della patch MS per Windows XP?
Grazie
More information about the samba-it
mailing list