[Samba] Problem with password chat and unix password sync..

cyroreal cyroreal at bol.com.br
Fri Feb 1 12:59:07 GMT 2002

Hi all,

I am trying to sync unix and samba
passwords but it is not working, i
added the following lines to my smb.conf

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

And passwd command on my system
(Mandrake 8.0) works like this...

[cyrofilho at servidor cyrofilho]$ passwd
Changing password for cyrofilho
(current) UNIX password:
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens
updated successfully
[cyrofilho at servidor cyrofilho]$

What am i doing wrong?? i allready
tryed the following in smb.conf, but
testparm says that i can not use %o
with encrypted passwords and the
password sync does not work...

passwd chat =
*(current)*UNIX*password* %o\n
*New*UNIX*password* %n\n

So what can i do to make it work..
Tanks in advance...


Quer ter seu próprio endereço na Internet?
Garanta já o seu e ainda ganhe cinco e-mails personalizados.
DomíniosBOL - http://dominios.bol.com.br

More information about the samba mailing list