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

Re: [chancock@bsd.uchicago.edu: userPassword attribute]


The double colon (::) is used to show that a value is Base 64 encoded.  
{crypt} is not depricated.  To read the value out of the LDIF, you just 
need to decode it.

For example, the string says "Hi Craig":
attribute:: SGkgQ3JhaWc=

This might work on your system...depending on your Perl setup:
perl -e "use MIME::Base64; print decode_base64('SGkgQ3JhaWc=');"; echo

- Christoph

On Tue, 30 Oct 2001, Craig Hancock wrote:

> ----- Forwarded message from Craig Hancock <chancock@bsd.uchicago.edu> -----
> Date: Tue, 30 Oct 2001 03:16:07 -0600
> From: Craig Hancock <chancock@bsd.uchicago.edu>
> To: openldap-sofrware@openldap.org
> Cc: Craig Hancock <chancock@delphi.bsd.uchicago.edu>
> Subject: userPassword attribute
> X-Mailer: Mutt 0.93.2i
> Hello all I am runing openldap version 2.0.14. I just recentely migrated
> from openldap 1.2.10. I noticed when converting the ldap databse a few
> changes. The one that I have not been able to find any documentation
> on is the userpassword attribute. My questions about this our
> 1) Why for entries with the userPassword attr does it have 2 :
> 2) Why was the prefix {CRYPT} depreicated
> 3) Was is the crytpographic term of this prefix  e0NSWVBUf
> is this the equlivalant to {CRYPT}
> Craig Hancock
> ----- End forwarded message -----