Hi 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. What am I missing here? Many thanks Andrei
Hallo, Andrei, Du (mlists) meintest am 23.10.08:> 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.Maybe the Linux password program says "password to short"; try it on a console. Or try a password like "a1B2c3D-" with uppercase, numbers etc. Viele Gruesse! Helmut
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@nibsc.ac.uk Work: +44 1707 641565 Everything else: +44 7956 237670 (anytime)