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

Re: (ITS#5134) dbconfig vs. DB_CONFIG

Raphaël Ouazana-Sustowski wrote:
> Hi,
> Le Jeu 13 septembre 2007 21:29, hyc@symas.com a écrit :
>> There is nothing ambiguous here. When slapd.conf is being used, the
>> dbconfig
>> directive *only* takes effect *if* no DB_CONFIG file exists. If one
>> exists, the
>> dbconfig directives are ignored.
> So if someone first create its DB_CONFIG by putting dbconfig directives in
> slapd.conf, and then modify these directives, the modification has no
> effect ?


> Reading the man page, I thought that the directives don't modify
> DB_CONFIG, but were applied at slapd's startup.

For slapd.conf, the directives can only take effect after they are written to 
DB_CONFIG. They will only be written to DB_CONFIG at startup time, and only if 
no such file already existed.

The main reason this directive was added was for the benefit of cn=config. 
Using it in slapd.conf is rather pointless. Once you start managing slapd 
through cn=config, you are expected to stop editing DB_CONFIG manually.
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/