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

OpenLDAP MD5 Hashed and CLEARTEXT Passwords



I'm having difficulty with storing passwords in openldap

I'm using the latest of openldap for windows version

I tried to store a password as clear text by setting password-hash in slapd.conf to {CLEARTEXT}, slapd fell over saying that the hash setting wasn't recognised

I'm then set the password-hash value to {MD5}, loaded the data, but the hashed password value was not as expected

I'm using ldif, I loaded the file using ldapadd

# Define a user entry
dn: uid=tony,ou=people,dc=example,dc=com
objectclass: inetOrgPerson
uid: tony
cn: Tony Murphy
sn: Murphy
givenName: Tony
initials: TM
userPassword: tony:localhost:8080:blah00blah


The password value I'm using contains ':', it this an illegal character. Should I escape it, how can I escape it


Any help greatly appreciated

Tony