Re: cn=config and DB_CONFIG

Quanah Gibson-Mount <[email protected]> Wed, 19 May 2010 12:21:06 -0700
Newsgroups gmane.network.openldap.general
Message-ID <48C7921754FFDC8411B8A17B@[192.168.1.2]>
--On Wednesday, May 19, 2010 3:56 PM +0200 Hallvard B Furuseth 
<[email protected]> wrote:

> DT Piotr Wadas writes:
>> Is it possible with openldap, any version, to tune DB_CONFIG attributes
>> for selected context via cn=config ?
>
> Yes.  See the admin guide and the slapd-bdb(8) manpage, keyword
> dbconfig.  The cn=config attribute is called olcDbConfig.  Note that
>    "The options set using this directive will only be written to the
>    DB_CONFIG file if no such file existed at server startup time"
> Come to think of it, I don't know what happens if you modify an existing
> database's DB_CONFIG; I've only used it with empty database directories.

It will pull in the changes the next time slapd is started.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration