[Samba] a php script to change password

Maurizio Marini maumar at datalogica.com
Wed Apr 30 14:55:14 GMT 2008


Lastly i was able to change password using windows AltCtrlCanc.
smbldap-passwd does not works (i dunno); i use this small php script:
http://mauriziomarini.blogspot.com/index.html

anyone interested can use it.
I am using centos 5.1, samba 3.0.25b. fds 1.1

samba.conf is:

;       encrypt passwords = yes

        ldap passwd sync = No
        unix password sync = Yes

        passwd program = /usr/bin/php -f /etc/samba/scripts/chgpwd.php %u
        passwd chat = "password:" %n\n "changed"
        passwd chat debug = yes

-m


More information about the samba mailing list