[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
getting object by its DN
Hi everybody!
Is there any simple ways to get LDAP object by its DN in OpenLDAP SDK?
ldap_search() doesn't recognize filter like: dn=cn=sombody,ou=dept1,o=mycomp
I know, that by splitting DN into cn and rest I can make search using rest of DN as base, but is that the only way?
What is the cannonical approach?
Thanks in advance,
--
Adrian Pavlykevych email: <pam@polynet.lviv.ua>
System Administrator phone/fax: +380 (322) 742041
State University "Lvivska Polytechnica"