[Samba] password change not working after OS update

Elias Knuutila elias at elekno.fi
Wed May 6 08:54:31 GMT 2009


 Hi,

I have problem with client password chat with Samba (3.0.24) PDC on Suse 
after updating OS to service pack 1. The problem prevents client from 
changing own password in Windows, plus other things to do with password, 
like adding user with Windows User manager. Samba password is to be 
synced with unix password in my configuration.

Following errors are found in log.smbd when trying to add new user:

new account added - account=testuser, uid=1046, gid=100, 
home=/home/testuser, shell=/bin/false, by=0
account added to group - account=testuser, group=users, gid=100, by=0
home directory created - account=testuser, uid=1046, 
home=/home/testuser, by=0
running USERADD_CMD command - script=/usr/sbin/useradd.local, 
account=testuser, uid=1046, gid=100, home=/home/testuser, by=0
pam_pwcheck(samba:chauthtok): conversation failed
[2009/05/06 09:54:55, 0] auth/pampass.c:smb_pam_chauthtok(692)
 PAM: UNKNOWN PAM ERROR (19) for User: testuser
[2009/05/06 09:54:55, 0] auth/pampass.c:smb_pam_passchange(848)
smb_pam_passchange: PAM: Password Change Failed for user testuser!
running USERDEL_PRECMD command - script=/usr/sbin/userdel-pre.local, 
account=testuser, uid=1046, gid=100, home=/home/testuser, by=0


relevant lines in smb.conf:

unix password sync = yes
pam password change = yes
encrypt passwords = yes

and pam_pwcheck.conf:

password:       minlen=6 no_obscure_checks use_cracklib nullok

Configuration hasn't been changed since OS update, and password change 
worked fine before that.

 Thanks in advance,

  Elias


More information about the samba mailing list