[Date Prev][Date Next]
(ITS#4575) LDAPADD and Password
Full_Name: Charles Golliday
OS: Solaris 9
Submission from: (NULL) (22.214.171.124)
Using the latest version of OPENLDAP 2.3.24
Using Ppolicy_hash_cleartext in slapd.conf.
OS: Solaris 9
Components: LDIF, LDAPADD
Issue: When importing a LDIF file, which contains an account with a SSHA,
encrypted password OPENLDAP appears to hash the imported SSHA encrypted password
to an unverifiable password when viewed with my LDAP Brower\Editor v 2.2.8.
Also when importing a LDIF file, which contains accounts with SHA
encrypted or Clear Text passwords, OpenLDAP appears to drop both options. In
other words when viewing the imported accounts via my LDAP Brower, the user
password option no long appears.
My expected results were that when importing a LDIF file using LDAPADD,
OPENLDAP would recognize a SSHA or a SHA encrypted account and NOT HASH the
current or imported password.
Clear Text passwords I expected to be hashed and verifiable. (This works fine.)
When using SLAPADD to import a LDIF file, I get the following results:
If it is a SSHA encrypted password I get the SSHA password
If it is a SHA encrypted password I get a SHA password
If it is a Clear Text password I get a Clear Text password
Although SLAPADD gives me the results needed it is not ideal to us this command
in a production environment because SLAPD is required to be ?Stopped? when
Is there a way for LDAPADD to yield similar SHA/SSHA SLAPADD results? Perhaps I
am doing something wrong if so please advice.