change password for user
Zhang Huangbin
zhbmaillistonly at gmail.com
Mon Mar 9 02:51:09 CET 2009
Michael Ströder wrote:
>> so it would be nice to have
>> the directory server do the hashing instead. I've found the
>> method:
>>
>> passwd_s(user, oldpw, newpw, [serverctrls=None, [clientctrls=None]])
>>
>> but are there any way to use that when I don't know the plaintext
>> 'oldpw' ?
>>
>
> Simply use None for oldpw.
How can i specfy hash mechanism in passwd_s()? like SSHA, MD5.
It seems use default setting of ldap server (password-hash in openldap
slapd.conf),
right?
--
Best regards.
Zhang Huangbin
- Open Source Mail Server Solution for RHEL/CentOS 5.x:
http://code.google.com/p/iredmail/
More information about the python-ldap
mailing list