change password for user

Michael Ströder michael at
Mon Mar 9 11:37:50 CET 2009

Zhang Huangbin wrote:
> Michael Ströder wrote:
>> Yes. Other LDAP servers might have a different configuration. Also some
>> servers set other password attributes as well (e.g. the smbk5pwd overlay
>> for OpenLDAP sets Samba password attributes and the Kerberos keys for a
>> heimdal KDC).
> How can i set DEFAULT password-hash in slapd.conf? such as MD5 or whatever.

That's more a question for the openldap-software mailing list. Since you
already found the password-hash parameter you could simply use it:

password-hash  	{SSHA}

Ciao, Michael.

More information about the python-ldap mailing list