2011/9/14 Michael Ströder <email@example.com>
sim123 wrote:It's a separate LDAP extended operation working on a already existing entry
> I am not sure what password modification extended operation is
not a normal modify operation (see RFC 3062).
So if I add a user from C API, it should add blank in userPassowrd attribute and then I modify userPaswed, is that correct? Can I do, Add and modify in same modify request to guarantee the atomicity of operation? Would ldap still treat it as extended operation?
> is it ldappasswd utility
See functions ldap_passwd/ldap_passwd_s in OpenLDAP's C API.
> or does openLDAP offer some kind of API to do so?
Could not find these function in man page or google search, can you please point me to a reference? Thanks for the help.
You already posted the relevant FAQ entry.
> Also can how can I configure hashing in SLAPD?
Watch out for password-hash in man-page slapd.conf.
Thanks for help and support, I really appreciate it.