[Date Prev][Date Next]
searching on a DN
A general LDAP search question, if I can be so bold...
Is it possible to search the directory for an entry with a specific DN? For
instance, the query:
./ldapsearch '(dn=cn=Intranet Users,ou=Groups,o=Harris/NSS)' cn
I've been trying this with different settings for -s and -b, but to no avail
(search returns empty). This group object does exist, and
./ldapsearch -b 'cn=Intranet Users,ou=Groups,o=Harris/NSS' 'objectclass=*'
does return a value.
It may seem a stupid thing to do, but I've a reason... :-) I needed to make
an OR filter with additional stuff to basically say, "return group objects
with one or these names and with a member attribute equal to blah."
Thanks for any advice. Yell at me if I've not included enough details.
Alan Sparks, Principal Network Analyst <firstname.lastname@example.org>
Harris Corporation, Camarillo CA (805) 389-2430