Think about your Unix login, read any /etc/passwd file, and try to authenticate with the value you read from it. You can't. It's hashed. You need to know the real cleartext password.
It's the same with Directory Server.
In order to bind to a Directory Server, you must provide the cleartext password.
Otherwise it would be a major security hole if one could read a one-way hashed password and authenticate with it.
Regards,
Ludovic.
You can mask the cleartext password in your application... Use reversible encryption or obfuscation. Just don't forget to reverse to the cleartext version before authenticating to the Directory Server.
Note that if you want to use reversible encryption, you will need a key which will then be either hardcoded or to be stored somewhere to be used by your application... Chicken and egg problem !
Ludovic.
the password for the proxyuser is in /var/ldap/ldap_client_cred (solaris 9)
its the bind password for the proxyuser
looks something like this:
cat /var/ldap/ldap_client_cred
#
# Do not edit this file manually; your changes will be lost.Please use ldapclient (1M) instead.
#
NS_LDAP_BINDDN= cn=proxyuser,ou=profile,dc=<yourdomain>,dc=<com>
NS_LDAP_BINDPASSWD= {NS1}3fac7f3dae6c3cea