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

Re: defaultSearchBase?



Thanks

The system I am building is for an isp who want to have a single ldap server
for a number of customers each with different domain names.

I was hoping I could set the defaultsearchbase to '' and have the search
done on the complete database, as set up by multiple database definition
sections in slapd.conf.  Is that possible in some way?


----- Original Message -----
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
To: "Jim Hud" <jdhz@btinternet.com>
Cc: <openldap-software@OpenLDAP.org>
Sent: Friday, October 06, 2000 4:31 AM
Subject: Re: defaultSearchBase?


> At 04:22 PM 10/5/00 +0000, Jim Hud wrote:
> >Can anyone explain how defaultSearchBase is used?
>
> man slapd.conf(5)
>        defaultsearchbase <dn>
>               Specify  a  default  search base to use when client
>               submits a non-base search  request  with  an  empty
>               base DN.
>
> Setting this will map one-level and subtree search requests with
> an empty base DN to some other DN.  Useful when clients cannot
> be easily configured to use DN within one of the server's
> namingContexts.   The directive should not be used in situations
> where the server has global knowledge (e.g.: a default referral
> or a server holding the root namingContext).
>
> Kurt
>
>