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.