[Date Prev][Date Next]
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 ??
From: Adam Williams [mailto:firstname.lastname@example.org]
Sent: Monday, April 01, 2002 5:48 PM
To: Mahesh Patil
Subject: RE: using userPassword attribute
>What if I'm using encryption engine to generate encrypted password
>and want to store that programmatically. How can I achieve this ???
You can store an encrypted string like any other string via ldapmodify,
things like exop are just provided to make some things easier, they
shouldn't interfere with a "manual" change. What "programmatic" method
are you using? script, php, C, java, etc...