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

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