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

RE: userpassword question



tx, I just found it in the mailing list (after 3 days of searching :)
Would be handy if it was in the standard ldapsearch manual though ...

-----Original Message-----
From: Jean-Eric Cuendet [mailto:Jean-Eric.Cuendet@linkvest.com]
Sent: vrijdag 23 maart 2001 11:46
To: openldap-software@OpenLDAP.org
Subject: 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
> 
> 
> **********************************************************************
> 


**********************************************************************