Changing password as administrator

Avinash Sultanpur avinash at sultanpur.org
Tue Oct 6 13:22:28 CEST 2009


Hi,

What is the equivalent of running the below command in python-ldap?

    ldappasswd -x -D <root_dn> -w <root_pw> -s secret_password \
        uid=user000,ou=People,dc=example,dc=com


Thus far I had been manipulating the userPassword attribute with the 
encrypted password. Now I would like to send the plain password to the 
server so that it can do the encryption according to the password-hash 
configuration in slapd.conf.

-thanks
Avinash




More information about the python-ldap mailing list