qazmlp wrote:
Through 1 LDAP search, I would like to get the complete set of child
entries under a specific entry.
>
Assume, the directory contains the following child entries, for the entry
having the dn:empID=1228200,Dept=Electronics,dc=My-Org
1.
dn:somerdn1=value1,empID=1228200,Dept=Electronics,dc=My-Org

2.
dn:somerdn2=value2,somerdn1=value1,empID=1228200,Dept=Electronics,dc=My-Org

The above entries are not returned if I do ldapsearch with (dn=*1228200*)
as the Filter criteria.

As I understand, dn is not a searchable attribute.

How else I should do it to get the correct result?

Try searching with a scope of subtree, a base of empID=1228200,Dept=Electronics,dc=My-Org, and the filter (objectclass=*).

Jon Roberts
www.mentata.com

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