[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
searching for all entries with a particular dn
- To: OpenLDAP-software@OpenLDAP.org
- Subject: searching for all entries with a particular dn
- From: Bernhard Erdmann <be@berdmann.de>
- Date: Wed, 30 Jun 2004 00:03:24 +0200
- User-agent: Mozilla/5.0 (X11; U; IRIX64 IP30; en-US; rv:1.6) Gecko/20040505
Hi,
I'm looking for a search filter syntax returning all entries grouped by
a particular dn.
Example: you have all your relatives grouped in
ou=family,ou=private,ou=groups,dn=domain,dn=org
How do you search for the email addresses of them?
(ou=family) does not return any entry:
$ ldapsearch -x -h ldap -b dc=berdmann,dc=de "(ou=family)" mail
# extended LDIF
#
# LDAPv3
# base <dc=berdmann,dc=de> with scope sub
# filter: (ou=family)
# requesting: mail
#
# family, private, groups, berdmann.de
dn: ou=family,ou=private,ou=groups,dc=berdmann,dc=de
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1