[Samba] unix password sync not working

Ethy H. Brito ethy.brito at inexo.com.br
Thu Jul 13 15:14:48 GMT 2006


On Wed, 12 Jul 2006 18:53:56 -0300
"Ethy H. Brito" <ethy.brito at inexo.com.br> wrote:

Hi again

Can anyone help me with this, please?
Any doc, FAQ, whatever? I am not afraid reading these.
Google was not my friend this time (or maybe I did not know how to ask).

Regards

Ethy 

> 
> Hi all
> 
> I trying to sync a samba password with Linux password. I did:
> 
>     encrypt passwords = yes
> ;    passwd program = /usr/bin/passwd %u
>     passwd program = /tmp/teste %u
>     update encrypted = no
>     unix password sync = yes
>     passwd chat debug = yes 
>     passwd chat = *New*password* %n\n*Re-enter*new*password* %n\n*changed*
> 
> The problem is 'passwd program' is not even called.
> 
> I tried to set 'log level = 100' as said at smb.conf with 'passwd chat debug = yes' without success. pw prog is still not even called and no log output is generated which resembles a password exchange.
> 
> (for the curious: /tmp/teste is just a bash script that cat's its parameters to
> a file)
> 
> Environment:
> Slackware 10.2
> Samba 3.0.22b
> 
> Any clues to solve this??
> 
> Regards
> 
> -- 
> 



More information about the samba mailing list