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

RE: userpassword question



> Now, when I add this, using ldapadd, everything works fine, 
> but when I do an
> ldapsearch, I get:
> 
> userPassword:: e0Nwhknkj... (about 28 characters)

It's base64 encoded. If you do:
echo "e0Nwhknkj... " |base64_decode
You'll end up with
{crypt}blablaXXXX
(Note that base64_decode is not a prog, but a perl function per example).

Bye
-jec

> Now this seems correct, because an authenticated bind (using 
> the password
> for this user) works
> Now I would like to get this entry to be in ldap the way I 
> put it in, like
> {crypt}blablaXXXX.
> So can anybody give me a pointer on how to get this result?
> 
> With friendly regards,
> 
> Franky
> 
> 
> **********************************************************************
>