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

Re: searching multiple rootDNs

Arvid Requate wrote:
> I'm doing this on openLDAP 2.04 and it just returns the rootDSE when doing
> ldapsearch -x -b '' -s sub '(objectclass=*)'

ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts

> In some posting in the archives someone proposed a base-search with
> searchbase of "cn=config"

This applys only to LDAPv2 servers derived from Umich-server (e.g.
OpenLDAP 1.2.x).

See the mailing list archives for more detailed answers by Kurt.

> Do I need one common root to be able to do a global search ?

You will need to iterate over different search roots.

Ciao, Michael.