I believe the userpassword attribute is stored in LDAP as an octet string as per RFC2256. Does anyone know what value should be returned from a read of this attribute?

The reason I ask is that my own openldap search returned a base64 encoded string, which I needed to decode before I could see the encryption method prefix. Performing the same search using Iplanet's version returned an already decoded value. It seems each client might have a different way of handling this value's presentation.

A developer has asked me what value they should expect to get from a call returning userpassword (this is a privileged program, running in a controlled environment, that has read access to userpassword). Judging from my results I'm not sure what to tell them.

I could say octet string but is that what Java will return? What about Perl, PHP, C, or another language? Is there a defined standard for this value?


Thanks in advance for any assistance.


Tod

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to