[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Finding all DNs in an organizationalUnit




Chris Martin wrote:

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

I guess what you want to do is get all DNs below "ou=Groups".  For
that do:

ldapsearch -b "ou=groups, ..." -s subtree "(objectclass=*)"

sanjay