[Samba] Password synchronization

Dominic Deferia ddeferia at nyc.rr.com
Tue Sep 3 04:08:01 GMT 2002


Hi, I'm trying to synchronize my smbpasswd with passwd but I cannot get it
to work. I am using samba 2.2.5.

My smb.conf

in my global i have these lines:
[global]

      passwd program = /usr/bin/passwd %u
	passwd chat = *Enter* %n\n *Retype* %n\n
	unix password sync = Yes

I verified the path of the passwd program, typing the passwd program as root
gives out the message

e.g.

debian:~# passwd dodie
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
debian:~#

Tried also to put "passwd chat = *Enter* %n\n *Retype* %n\n *" but that
didn't help as well. It does not sync with my passwd file everytime I change
the smbpasswd from swat (password option). Any help is highly appreciated.
Thank you in advance.

Sincerely,

Dominic





More information about the samba mailing list