[Date Prev][Date Next] [Chronological] [Thread] [Top]

get cleartext password with ldapsearch/slapadd



I need to export the whole directory to LDIF, including the passwords on
cleartext.
My slapd.conf includes the {CLEARTEXT} line. However, both slapcat and
ldapsearch print the userpassword field scrambled with base64.
If I use an "ldapsearch" application from a IPlanet Directory server
(which will be removed soon), the password is correctly displayed on
cleartext.
OpenLdap is compiled with the --enable-cleartext flag.

Is there anything else I'm missing?

Also : any field that includes some "non-english" character (like "ñ")
is also printed on base64. Any way to avoid that?

Best regards,

E. Robles