[Date Prev][Date Next]
Re: ldap_search base for multiple databases problem
At 01:32 PM 6/2/00 +0200, email@example.com wrote:
>i'm using multiple ldbm databases for virtual domains (in slapd.conf).
>since this part is working i have a problem with the ldap.conf setting
>"base" - i can only use one virtual domain and for the others i get an
>ldap_search_s (error-13?) trying to connect.
>is there a way to configure ldap.conf to use multiple bases or to define
>the base out of the request (request for foobar.com -> use base
A search operation has a base. ldap.conf provides a default.
So, if you want one search to return information in multiple
trees, select a common superior base. Of course, that common
superior base must have knowledge of its subordinates.
>and if not, has someone a hint how to create a common base for multiple
Build a tree.
Then, if you want to search both A and B, use a search
base of "dc=example,dc=net" (after adding appropriate
referral DSEs under "dc=example,dc=net".