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

(ITS#6590) slaptest ignores slapd.conf's dbconfig statement during conversion into cn=config

Full_Name: Daniel Pluta
Version: HEAD
OS: Lnx
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2001:4ca0:0:f000:4877:9270:3ab1:2849)

slaptest -f -F ignores slapd.conf (bdb/hdb convenience) dbconfig settings.

Steps to reproduce:

1.) cat > slapd.conf <<EOF
include         /tmp/openldap/etc/openldap/schema/core.schema
pidfile         /tmp/openldap/var/run/slapd.pid
argsfile        /tmp/openldap/var/run/slapd.args
database        hdb
dbconfig set_cachesize 0 1048576 0
dbconfig set_lg_bsize 2097152
suffix          "dc=my-domain,dc=com"
rootdn          "cn=Manager,dc=my-domain,dc=com"
rootpw          secret
directory       /tmp/openldap/var/openldap-data
index   objectClass     eq

2.) convert slapd.conf into cn=config:
mkdir slapd.d && slaptest -f slapd.conf -F slapd.d

3.) search slapd.d directory for "olcdbconfig" attribute values:
grep -R -i olcDbConfig slapd.d/

the string "olcDbConfig" cannot be found (only in schema definition)...