Samba PDC: PC clients cannot change passwords

391 views
Skip to first unread message

Puran Prajapati

unread,
Jul 13, 2012, 9:59:43 AM7/13/12
to vg...@googlegroups.com

Hi Dear Group

I have set up Samba 3.5 PDC on centos 6.2. Everything works fine except users (Win XP Pro) cannot change their domain passwords from PC.
 The error is "You do not have permission to change your password". Could somebody tell me what is wrong?


Thanks

Puran Prjaapati

Ranvirsinh Sodha

unread,
Jul 14, 2012, 10:28:54 AM7/14/12
to vg...@googlegroups.com
Hi...Puran 


first time login samba pdc  u will try press Ctrl-Alt-Del, "Change Password", and as username type in 
SERVERNAME\users.





--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG



--
Regard,
Ranvirsinh  Sodha
Linux Support Engineer
RHCSA (Red Hat Certified System Administrator)

Puran Prajapati

unread,
Jul 16, 2012, 7:02:27 AM7/16/12
to vg...@googlegroups.com



Hi Ranvir,

I have try the same way as you told but the same error occurred. here i give you output of /var/log/messages

Jul 13 20:04:28 clariondc smbd[5632]: [2012/07/13 20:04:28.624786,  0] auth/pampass.c:861(smb_pam_passchange)
Jul 13 20:04:28 clariondc smbd[5632]:   smb_pam_passchange: PAM: Password Change Failed for user puranp!
Jul 13 20:04:28 clariondc smbd[5632]: [2012/07/13 20:04:28.635182,  0] auth/pampass.c:705(smb_pam_chauthtok)
Jul 13 20:04:28 clariondc smbd[5632]:   PAM: UNKNOWN PAM ERROR (11) for User: puranp
Jul 13 20:04:28 clariondc smbd[5632]: [2012/07/13 20:04:28.635259,  0] auth/pampass.c:861(smb_pam_passchange)
Jul 13 20:04:28 clariondc smbd[5632]:   smb_pam_passchange: PAM: Password Change Failed for user puranp!
Jul 13 20:04:28 clariondc smbd[5632]: [2012/07/13 20:04:28.641404,  0] auth/pampass.c:705(smb_pam_chauthtok)
Jul 13 20:04:28 clariondc smbd[5632]:   PAM: UNKNOWN PAM ERROR (11) for User: puranp
Jul 13 20:04:28 clariondc smbd[5632]: [2012/07/13 20:04:28.641480,  0] auth/pampass.c:861(smb_pam_passchange)
Jul 13 20:04:28 clariondc smbd[5632]:   smb_pam_passchange: PAM: Password Change Failed for user puranp!
Jul 13 20:04:50 clariondc avahi-daemon[1476]: Invalid query packet.

I think this error regarding pam 

Please suggest me solution of this error.


Thanks

Puran Prajapati

Ranvirsinh Sodha

unread,
Jul 17, 2012, 6:23:48 AM7/17/12
to vg...@googlegroups.com

 you will try
 
  passdb backend = tdbsam
  pam password change = yes

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Puran Prajapati

unread,
Jul 18, 2012, 8:48:27 AM7/18/12
to vg...@googlegroups.com
Hi Rajvir,


Thanks for your support

This setting already done..but problem as its..

Here my paste smb.conf password section,

#Passwords
passdb backend = tdbsam:/etc/samba/passdb.tdb
passwd program = /usr/bin/passwd '%u'
passwd chat = "*Enter\snew\sUnix\spassword:*" %n\n "*retype\snew\sUnix\spassword:" %n\n. "*updated successfuly*"
passwd chat debug = yes
encrypt passwords = yes
unix password sync = yes
enable privileges = yes

pam password change = yes
username map = /etc/samba/smbusers



Thanks

Puran Prajapati
To stop receiving emails from this group, mail to VGLUG+unsubscribe@googlegroups.com

To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
Reply all
Reply to author
Forward
0 new messages