allow refint/unique to run even if overlays are dynamic and backends no

This commit is contained in:
Pierangelo Masarati 2004-04-21 23:11:27 +00:00
parent 339b34ac1f
commit 343264f9f6
3 changed files with 8 additions and 6 deletions

View file

@ -24,8 +24,9 @@ include ./schema/nis.schema
pidfile ./testrun/slapd.1.pid
argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#refintmod#modulepath ../servers/slapd/overlays/
#refintmod#moduleload refint.la
#######################################################################

View file

@ -24,8 +24,9 @@ include ./schema/nis.schema
pidfile ./testrun/slapd.1.pid
argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#uniquemod#modulepath ../servers/slapd/overlays
#uniquemod#moduleload unique.la
#######################################################################

View file

@ -17,14 +17,14 @@ if [ x"$MONITORDB" = x"yes" ] ; then
else
MON=nomonitor
fi
sed -e "s/@BACKEND@/${BACKEND}/" \
-e "s/^#${BACKEND}#//" \
sed -e "s/@BACKEND@/${BACKEND}/" \
-e "s/^#${BACKEND}#//" \
-e "s/^#${BACKENDTYPE}#//" \
-e "s/^#${AC_ldap}#//" \
-e "s/^#${AC_ldap}#//" \
-e "s/^#${AC_pcache}#//" \
-e "s/^#${AC_ppolicy}#//" \
-e "s/^#${AC_refint}#//" \
-e "s/^#${AC_unique}#//" \
-e "s/^#${MON}#//" \
-e "s/@CACHETTL@/${CACHETTL}/" \
-e "s/@CACHETTL@/${CACHETTL}/" \
-e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"