Marvin Addison wrote:
>> I use AD and map attributes 
>> <entry  key="distinguishedName" value="dn" />
>> and all ok.
>>
>> But when I try to get dn from my ldap I do not see nothing.
> 
> I don't believe AD supports exposing the DN as an attribute.

With MS AD the whole DN of the LDAP entry is in the operational attribute
'distinguishedName'. OpenLDAP and other LDAP servers implement RFC 5020 and
put the DN of the entry in the attribute 'entryDN'.

<entry  key="entryDN" value="dn" />

Whether it makes sense to pass the DN to an application is another question
though...

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to