[Pkg-openldap-devel] Proposal for the configuration in debian.

Quanah Gibson-Mount quanah at stanford.edu
Mon Feb 27 03:56:39 UTC 2006



--On Sunday, February 26, 2006 7:49 PM -0800 Russ Allbery <rra at debian.org> 
wrote:

> Quanah Gibson-Mount <quanah at stanford.edu> writes:
>
>> Um, why are we creating a slapd.d directory?
>
>> "slapd.d" has special meaning in OpenLDAP 2.3: It is the directory that
>> contains a cn=config backend.  We should not be creating *any* slapd.d
>> directories unless we are moving wholesale to cn=config, which I do not
>> recommend, since there are several overlays and backends that currently
>> are not supported with cn=config.
>
> It treats that directory name as special *anywhere*, not just in its db
> directory?

No, not anywhere, generally (if you use /usr/local as your prefix), 
/usr/local/etc/openldap/slapd.d (where it generally expects to find 
/usr/local/etc/openldap/slapd.conf).  So if we are building OpenLDAP to 
look in /etc/ for slapd.conf, then I'm betting it will treat "slapd.d" in 
/etc/ as a cn=config backend.  "cn=config" is not a normal database, and 
isn't expected to be found in the database location.  It is the 
configuration database, and expects to be found where your configuration 
files generally go.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html



More information about the Pkg-openldap-devel mailing list