Changing password as administrator

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


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

    ldappasswd -x -D <root_dn> -w <root_pw> -s secret_password \

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.


More information about the python-ldap mailing list