## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./testdata/test.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @DATADIR@/test.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
# global ACLs
#
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
-include ./testdata/test.schema
-include ./testdata/ditcontentrules.conf
+include @DATADIR@/test.schema
+include @DATADIR@/ditcontentrules.conf
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
-moduleload ./testdata/comp_libs/compmatch.la
+moduleload @DATADIR@/comp_libs/compmatch.la
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/core.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
sasl-secprops noanonymous
#sasl-secprops none
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
access to dn.exact=""
by * read
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
database @BACKEND@
suffix ""
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,c=US"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.m.pid
-argsfile ./test-db/slapd.m.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.m.pid
+argsfile @TESTDIR@/slapd.m.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
subordinate
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager 1,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
subordinate
-directory ./testrun/db.1.b
+directory @TESTDIR@/db.1.b
rootdn "cn=Manager 1,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.c
+directory @TESTDIR@/db.1.c
rootdn "cn=Manager 1,dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
subordinate
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager 2,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
subordinate
-directory ./testrun/db.2.b
+directory @TESTDIR@/db.2.b
rootdn "cn=Manager 2,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.2.c
+directory @TESTDIR@/db.2.c
rootdn "cn=Manager 2,dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
subordinate
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager, dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
subordinate
-directory ./testrun/db.1.b
+directory @TESTDIR@/db.1.b
rootdn "cn=Manager, dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.c
+directory @TESTDIR@/db.1.c
rootdn "cn=Manager, dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=it"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,dc=example,dc=it"
rootpw secret
#bdb#index objectClass eq
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
# root
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.3.pid
-argsfile ./testrun/slapd.3.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.3.pid
+argsfile @TESTDIR@/slapd.3.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
# people branch
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
-directory ./testrun/db.3.a
+directory @TESTDIR@/db.3.a
rootdn "cn=Manager,ou=Groups,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
# people branch
database @BACKEND@
suffix "ou=People,dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,ou=People,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
# Need quality indices on "uid" to check "unchecked" limits...
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
-include ./testdata/ditcontentrules.conf
+include @DATADIR@/ditcontentrules.conf
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.m.pid
-argsfile ./test-db/slapd.m.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.m.pid
+argsfile @TESTDIR@/slapd.m.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.2.pid
-argsfile ./test-db/slapd.2.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "ou=Meta,dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,ou=Meta,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/others_nis.at.conf
-include ./schema/others_nis.oc.conf
-include ./schema/nis.at.conf
-include ./schema/nis.oc.conf
-include ./schema/internet_mail.at.conf
-include ./schema/internet_mail.oc.conf
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/others_nis.at.conf
+include @SCHEMADIR@/others_nis.oc.conf
+include @SCHEMADIR@/nis.at.conf
+include @SCHEMADIR@/nis.oc.conf
+include @SCHEMADIR@/internet_mail.at.conf
+include @SCHEMADIR@/internet_mail.oc.conf
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database ldbm
cachesize 4
suffix "o=SGI, c=US"
-directory ./test-db
+directory @TESTDIR@
rootdn "cn=Manager, o=SGI, c=US"
rootpw secret
index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#bdb#cachesize 20
#hdb#cachesize 20
#ldbm#cachesize 20
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
#bdb#index objectClass eq
#bdb#index cn,sn,uid,mail pres,eq,sub
#hdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#hdb#cachesize 0
#ldbm#cachesize 0
suffix "o=University of Mich,c=US"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,o=University of Mich,c=US"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.pid
-argsfile ./testrun/slapd.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "c=us"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,c=us"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=refint"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,o=refint"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
-replogfile ./testrun/slapd.1.replog
+replogfile @TESTDIR@/slapd.1.replog
replica host=localhost:@PORT2@
binddn="cn=Replica,dc=example,dc=com"
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
updatedn "cn=Replica,dc=example,dc=com"
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./testdata/test.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @DATADIR@/test.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
overlay retcode
retcode-parent "ou=RetCodes,dc=example,dc=com"
-include testdata/retcode.conf
+include @DATADIR@/retcode.conf
#monitor#database monitor
## <http://www.OpenLDAP.org/license.html>.
#
-include ./schema/core.schema
-include ./schema/cosine.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
#
-include ./schema/corba.schema
-include ./schema/java.schema
-include ./schema/inetorgperson.schema
-include ./schema/misc.schema
-include ./schema/nis.schema
-include ./schema/openldap.schema
+include @SCHEMADIR@/corba.schema
+include @SCHEMADIR@/java.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/misc.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/openldap.schema
#
-include ./schema/duaconf.schema
-include ./schema/dyngroup.schema
-include ./schema/ppolicy.schema
+include @SCHEMADIR@/duaconf.schema
+include @SCHEMADIR@/dyngroup.schema
+include @SCHEMADIR@/ppolicy.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#
-rootdse ./testdata/rootdse.ldif
+rootdse @DATADIR@/rootdse.ldif
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=OpenLDAP Project,l=Internet"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#database @BACKEND@
#suffix "dc=example,dc=com"
-#directory ./testrun/db.1.b
+#directory @TESTDIR@/db.1.b
#index objectClass eq
#monitor#database monitor
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#sqlmod#modulepath ../servers/slapd/back-sql/
#sqlmod#moduleload back_sql.la
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#sqlmod#modulepath ../servers/slapd/back-sql/
#sqlmod#moduleload back_sql.la
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.4.pid
-argsfile ./testrun/slapd.4.args
+pidfile @TESTDIR@/slapd.4.pid
+argsfile @TESTDIR@/slapd.4.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.4.a
+directory @TESTDIR@/db.4.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
# $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-persist2.conf,v 1.4.2.4
2003/12/15 22:05:29 kurt Exp $
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.5.pid
-argsfile ./testrun/slapd.5.args
+pidfile @TESTDIR@/slapd.5.pid
+argsfile @TESTDIR@/slapd.5.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.5.a
+directory @TESTDIR@/db.5.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.6.pid
-argsfile ./testrun/slapd.6.args
+pidfile @TESTDIR@/slapd.6.pid
+argsfile @TESTDIR@/slapd.6.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.6.a
+directory @TESTDIR@/db.6.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.3.pid
-argsfile ./testrun/slapd.3.args
+pidfile @TESTDIR@/slapd.3.pid
+argsfile @TESTDIR@/slapd.3.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.3.a
+directory @TESTDIR@/db.3.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## <http://www.OpenLDAP.org/license.html>.
ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=translucent"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "o=translucent"
rootpw secret
#bdb#index objectClass eq
## <http://www.OpenLDAP.org/license.html>.
ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=translucent"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "o=translucent"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=unique"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,o=unique"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "o=valsort"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,o=valsort"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
#ldbm#cachesize 0
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-include ./testdata/test.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @DATADIR@/test.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
export AC_translucent AC_WITH_SASL AC_WITH_TLS AC_WITH_MODULES_ENABLED AC_ACI_ENABLED
export AC_valsort
+# need defines.sh for the definitions of the directories
+. $SRCDIR/scripts/defines.sh
+
if test ! -x ../servers/slapd/slapd ; then
echo "Could not locate slapd(8)"
exit 1
-c | -clean)
CLEAN=yes
- shift; shift ;;
+ shift ;;
-k | -kill)
KILLSERVERS=no
exit 1;
fi
-if test ! -r testdata/test.ldif ; then
- ${LN_S} ${SRCDIR}/data testdata
+if test ! -r ${DATADIR}/test.ldif ; then
+ ${LN_S} ${SRCDIR}/data ${DATADIR}
fi
-if test ! -r schema/core.schema ; then
- ${LN_S} ${TOPSRCDIR}/servers/slapd/schema schema
+if test ! -r ${SCHEMADIR}/core.schema ; then
+ ${LN_S} ${TOPSRCDIR}/servers/slapd/schema ${SCHEMADIR}
fi
-if test -d testrun ; then
+if test -d ${TESTDIR} ; then
if test $PRESERVE = no ; then
echo "Cleaning up test run directory leftover from previous run."
- /bin/rm -rf testrun
+ /bin/rm -rf ${TESTDIR}
elif test $PRESERVE = yes ; then
echo "Cleaning up only database directories leftover from previous run."
- /bin/rm -rf testrun/db.*
+ /bin/rm -rf ${TESTDIR}/db.*
fi
fi
echo "User data directory (userdata) does not exist."
exit 1
fi
- mkdir -p testrun
- cp -R userdata/* testrun
+ mkdir -p ${TESTDIR}
+ cp -R userdata/* ${TESTDIR}
fi
# disable LDAP initialization
if test $CLEAN = yes ; then
echo "Cleaning up test run directory from this run."
- /bin/rm -rf testrun
+ /bin/rm -rf ${TESTDIR}
echo "Cleaning up symlinks."
- /bin/rm -f testdata schema
+ /bin/rm -f ${DATADIR} ${SCHEMADIR}
fi
exit $RC
-e "s;@PORT6@;${PORT6};" \
-e "s/@SASL_MECH@/${SASL_MECH}/" \
-e "s/@CACHETTL@/${CACHETTL}/" \
- -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"
+ -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/" \
+ -e "s;@TESTDIR@;${TESTDIR};" \
+ -e "s;@DATADIR@;${DATADIR};" \
+ -e "s;@SCHEMADIR@;${SCHEMADIR};"
DATADIR=./testdata
PROGDIR=./progs
TESTDIR=./testrun
+SCHEMADIR=./schema
DBDIR1A=$TESTDIR/db.1.a
DBDIR1B=$TESTDIR/db.1.b