openldap-software May 2010 archive
Main Archive Page > Month Archives  > openldap-software archives
openldap-software: Re: cn=config and DB_CONFIG

Re: cn=config and DB_CONFIG

From: Quanah Gibson-Mount <quanah_at_nospam>
Date: Wed May 19 2010 - 19:21:06 GMT
To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, DT Piotr Wadas <pwadas@dtpw.pl>

--On Wednesday, May 19, 2010 3:56 PM +0200 Hallvard B Furuseth
<h.b.furuseth@usit.uio.no> 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