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

Re: problem with cleartext password setup

I thought the field was only base64 encoded if it had offending characters such as a space, or something not LDIF compliant?

E.G. you could see an entry that says  {crypt}AFDA12321de323


On Feb 5, 2008, at 3:08 PM, Quanah Gibson-Mount wrote:

--On February 5, 2008 1:14:35 PM -0600 Pat Riehecky <prieheck@iwu.edu> wrote:

Strangely they are not prefixed with the {HASHTYPE}.

When I run
ldappasswd -H ldapi:/// -D "cn=testuser,dc=iwu,dc=edu" -w Please -x -s

In LDAP I get

userPassword:: cGxlYXNl

What did I do?

You failed to understand the difference between hashes and encoding. userPassword is base-64 encoded.  Decode it to see what the actual value is.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration

Chris G. Sellers | NITLE  - Technology Team
AIM: imthewherd | GoogleTalk: cgseller@gmail.com