HI!

Frankly I'm not a Java programmer. But I tried to help a colleague to
implement proxy authorization against OpenLDAP 2.3.26 with Sun's JNDI
libs. The server seems correctly configured since everything looks nice
when using OpenLDAP's ldapsearch command-line tool.

But when using the self-implement JNDI code derived from sample code
found on some forums the trace log looks weird:

=> get_ctrls: oid="2.16.840.1.113730.3.4.18" (critical)
parseProxyAuthz: conn 3 authzid="^D3uid=stroederM,ou=Benutzer,[..snipped..]"
slap_sasl_getdn: conn 3 id=^D3uid=stroederM,ou=Benutzer,[..snipped..]
[len=53]
<= get_ctrls: n=1 rc=47 err="authzId mapping failed"

Note the ^D3 in the log. This does not appear when using ldapsearch. The
Java code does not contain anything else than
^D3uid=stroederM,ou=Benutzer,[..snipped..]

Any clue? Any pointer to good docs for Sun's JNDI libs?

Ciao, Michael.


---
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