[Samba] unix password sync not working

Mac mac at nibsc.ac.uk
Thu Oct 23 15:51:51 GMT 2008


Howdy,

>
>I am having problems with synchronisation of samba passwords with unix
>passwords. I have set the following in my smb.conf:
>
>unix password sync = Yes
>pam password change = yes
>passwd program = /usr/bin/passwd %u
>passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n \
>passwd:*all*authentication*tokens*updated*successfully*
>passwd chat debug = yes
>
>
>When trying to change the unix password i have the following:
>
>samba # smbpasswd bill
>New SMB password:
>Retype new SMB password:
>
>
>The samba password is changed, however, the unix password in /etc/shadow
>is not altered. Even though I have set the passwd chat debug option to
>Yes, I do not see any entries in the log file when I run smbpasswd. The
>log level is set to 10.

Password chat debug only appears at  log level 100, as it has the
clear-text of passwords in it. Be very careful who can access those log
files.




                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 641565          Everything else: +44 7956 237670 (anytime)


More information about the samba mailing list