[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Finding all DNs in an organizationalUnit
- To: c.martin@sheffield.ac.uk
- Subject: Re: Finding all DNs in an organizationalUnit
- From: Stuart Schmukler <Stuart.Schmukler@ncal.kaiperm.org>
- Date: 11 Dec 1998 12:35:04 -0800
- Alternate-recipient: Allowed
- Cc: openldap-general@openldap.org
- Content-identifier: 003A4367181F8020
- Content-return: Allowed
- Conversion: Allowed
- Disclose-recipients: Prohibited
- Original-encoded-information-types: IA5-Text
- X400-content-type: P2-1988 ( 22 )
- X400-mts-identifier: [/c=US/admd= /prmd=kaiperm/; 003A4367181F8020-ncalMTA]
- X400-originator: Stuart.Schmukler@ncal.kaiperm.org
- X400-received: by mta ncalMTA in /c=US/admd= /prmd=kaiperm/; Relayed; 11 Dec 1998 12:35:04 -0800
- X400-received: by /c=US/admd= /prmd=kaiperm/; Relayed; 11 Dec 1998 12:35:04 -0800
- X400-recipients: non-disclosure;
> I would like to get a list of the DNs with the attribute (? I am very
> new to this) ou=Groups but using "(ou=Groups)" or even
> "(cn=*,ou=Groups)" returns nothing.
> Can anybody see what I'm doing wrong?
The attributes in a DN are not searchable in LDAPv2.
I'd have the search base set to "ou=Groups,o=University of Sheffield,c=GB", the scope set to
"one" and the filter "(objectclass=rfc822mailgroup)" for a finial LDAP search of:
ldapsearch -s one -b "ou=Groups,o=University of Sheffield,c=GB" "(objectclass=rfc822mailgroup)" cn
I hope this helps.
SaS