change passwd on openldap via exop?

Michael Ströder michael at stroeder.com
Fri Oct 31 16:15:14 CET 2003


paul wrote:
> 
>> I'm not sure what exactly you're planning to do. But usually it's 
>> quite trivial to set (client-side hashed) passwords by modifying 
>> 'userPassword'.
> 
> Well, thats what I'm doing for  sambaNTpassword and friends, but for 
> 'userPassword' I dont know the scheme set in slapd.conf (password-hash),

You don't have to. Use any of the accepted schemes. {SSHA} is recommended.

web2ldap contains GNU-licensed code for generating client-side hashed 
userPassword values (pylib/ldaputil/passwd.py).

Ciao, Michael.



More information about the python-ldap mailing list