summaryrefslogtreecommitdiff
path: root/source4/script/tests/mk-openldap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/mk-openldap.sh')
-rwxr-xr-xsource4/script/tests/mk-openldap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/tests/mk-openldap.sh b/source4/script/tests/mk-openldap.sh
index a70db73c74..1eb8b66583 100755
--- a/source4/script/tests/mk-openldap.sh
+++ b/source4/script/tests/mk-openldap.sh
@@ -2,13 +2,15 @@ SLAPD_CONF=$LDAPDIR/slapd.conf
export SLAPD_CONF
echo "OPENLDAP_LOGLEVEL=0"
+OPENLDAP_PIDFILE=$PIDDIR/slapd.pid
+echo "OPENLDAP_PIDFILE=$OPENLDAP_PIDFILE"
cat >$SLAPD_CONF <<EOF
loglevel 0
include $LDAPDIR/ad.schema
-pidfile $PIDDIR/slapd.pid
+pidfile $OPENLDAP_PIDFILE
argsfile $LDAPDIR/slapd.args
sasl-realm $DNSNAME
access to * by * write