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

Error userpassword value from search result.



Hello all,
 
I can not get correct value from the "userpassword" attribute.
 
Linux 2.2.4
LDAP 2.0.11
development tools: Tomcat/JSP/JNDI
 
I store the crypt user password in the "userpassword" like this:
USERPASSWORD: {crypt}n1ljB4QXe7/Zw
 
but when I use JSP to get the value, it search result become :
USERPASSWORD: [B@2bb514 
 
I try to use PHP, and get the same result. But when I use LDAP Browser, the value if correct shown there.
 
Can someone tell me how to change the formation of it?
 
Thank you.