[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch help
- To: <openldap-software@OpenLDAP.org>
- Subject: ldapsearch help
- From: "Ron Wahler" <ron@rovingplanet.com>
- Date: Thu, 8 May 2003 09:47:51 -0600
- Content-class: urn:content-classes:message
- Thread-index: AcMU4bj8rznSEwYNQ1OdY7K3+Y8aIgACWBZgACNrumA=
- Thread-topic: ldapsearch help
This is my group
# build a group
dn: ou=group1,dc=fido,dc=com
objectClass: top
objectClass: groupOfNames
ou: group1
member: cn=bob jones,ou=engineering,dc=fido,dc=com
cn: group1
I want to do a ldapsearch for groups that have a specific user.
How can I do it ? can I just search for a cn=bob* ? or member=bob*
In the filter ? how can I write the filter part ?
ldapsearch -LLL -x -h 10.0.0.94 -p 389 -D "cn=Manager,dc=fido,dc=com"
-w secret -b "dc=fido,dc=com"
"(objectClass=groupOfNames)(member=bob*)"