[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How do I create a server for root?
On Tue, 14 Mar 2000, Rich Graves wrote:
> On Tue, 14 Mar 2000, Niels Poppe wrote:
>
> > In servers/slapd/backend.c you can #define LDAP_ALLOW_NULL_SEARCH_BASE
> > and a subtree query with a base dn="" will search the first defined
> > backend in your configuration.
>
> Intriguing. If I only have one backend (which I'd expect is the most usual
> case), is this a potential "fix" for clients with no search base defined?
I'm curious as to how "compatible" this workaround would be with future LDAPv3
support (given the introduction of the root DSE); from reading IETF RFC 2251,
section 3.4 would tend to indicate that it should work (that is, the root DSE
is available in base searches, but not subtree searches - one-level searches
aren't mentioned).
In which case, why wouldn't LDAP_ALLOW_NULL_SEARCH_BASE be the default for the
benefit Rich raises above?
dave