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

Re: (ITS#5134) dbconfig vs. DB_CONFIG



ando@sys-net.it wrote:
> Full_Name: Pierangelo Masarati
> Version: HEAD/re24/re23
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (193.203.230.29)
> Submitted by: ando
> 
> 
> The slapd-bdb(5) man page seems to me unclear with respect to the dbconfig
> directive.  In fact, what I gather from the text is that if no DB_CONFIG file
> exists, any dbconfig directive will be used to generate one; otherwise, an
> existing DB_CONFIG file will not be altered.  What is unclear is what happens if
> both a DB_CONFIG file and any dbconfig directives exist, and they differ?  Who
> takes the precedence?  What if any dbconfig directive is not present in the
> DB_CONFIG file?

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.

-- 
   -- 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/