Hello everyone,
I am using ApacheDS 2.0.0-M23.
I am currently loading programmatically an LDIF file with entries like:
dn: cn=Bilbo Baggins,ou=users,dc=mathworks,dc=com,o=Middle-earth
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Bilbo Baggins
description: Bilbo is the author of The Hobbit and translator of various "works 
from the elvish"
givenname: Bilbo
sn: Baggins
uid: bbaggins
mail: bbagg...@mathworks.com
userpassword: 
{SHA512}W3IrMH/ObJRJBdEyaR1eSiIUt/6StziSDrP846kEIKGVEcMBCg53ErBU2u9bV7rVnsvZOzKA8hBXj1R/Su1NJQ==
This hash corresponds to pass as password.However I perform a bind it fails.
If I used a SHA-1 hash as follows, it works fine:userpassword: 
{SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

I also tried with other prefixes like SHA-512, but it does not work as well.

Any ideas are most welcome. Many thanks in advance.



Cyril F

Reply via email to