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

RE: using userPassword attribute



Though its showing junk characters, I can perform compare operation on
password attribute which solves my problem. 


Thanks for your concern. 

	Do you have any idea on "storing encrypted creditcard numbers in
LDAP and retrieving them" ???


Thanks,
Mahesh

-----Original Message-----
From: Adam Williams [mailto:awilliam@whitemice.org]
Sent: Monday, April 01, 2002 6:00 PM
To: Mahesh Patil
Cc: 'openldap-software@OpenLDAP.org'
Subject: RE: using userPassword attribute


>I'm using Java. When I try to retrieve all user attributes and print it, it
>shows junk characters though its storing it properly. I'm using one Java
>based LDAP browser to view my tree. This tool also show password as
>BINARY(38b) but when I double click on this attribute it shows proper
value.
>But when I'm retrieving this password through my java program it doesn't
>show me proper password !! any idea ??

The password string is base64 encoded in the DSA, which may make it look
like junk.  (I know nothing about Java)  Is there a way you can decode
the string as though is it base64 encoded and see if it appears correct
then?