Re: unexpected userPassword content

Jan-Piet Mens <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
> userPassword={MD5}wzNncBURtPYCDsYd7TUgWQ==
>
> But when I retrieve the userPassword content later, I get this value:
>
> e01ENX13ek5uY0JVUnRQWUNEc1lkN1RVZ1dRPT0=

What you are seeing (with `ldapsearch`) is the Base64-encoded (security
through obscurity :-) value.

$ echo 'e01ENX13ek5uY0JVUnRQWUNEc1lkN1RVZ1dRPT0=' | openssl enc -a -d
{MD5}wzNncBURtPYCDsYd7TUgWQ==

> What has openldap done to it?

Nothing.

> What do I have to do with the cleartext 
> password to get the same value?

Relax: you are getting the same value. :-) 

        -JP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.