[Samba] unix password sync not working

Ethy H. Brito ethy.brito at inexo.com.br
Wed Jul 12 21:53:56 GMT 2006


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

-- 

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3979-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 


More information about the samba mailing list