[Samba] Password synchronization

Jonathan Dean jon.dean at deanuk.net
Tue Sep 3 09:58:02 GMT 2002


I think you have to specify the entire output of the passwd program.
Try:

passwd program = /usr/bin/passwd %u
passwd chat = *Enter*new*UNIX*password:* %n\n *Retype*new*UNIX*password:* 
%n\n *passwd:*password*updated*successfully*
unix password sync = Yes

Hope that helps,
Jon

At 00:07 03/09/2002 -0400, Dominic Deferia wrote:


>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
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

---
Jonathan Dean
jon.dean at deanuk.net             www.jondean.com

Dept. Computer Science, University of Exeter, UK.
j.s.dean at ex.ac.uk               www.dcs.ex.ac.uk

Network Manager, Dean UK Networks.
root at deanuk.net         www.deanuk.net
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list