summaryrefslogtreecommitdiff
path: root/source4/script/tests/mk-openldap.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-11 05:01:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:55 -0500
commitc41fe665e4a4229ec663f03093c2b6b1c4648b86 (patch)
tree5d6fb0fed55045ea5ab8705e703a8ba382d224ab /source4/script/tests/mk-openldap.sh
parent7b88696bed9dac1a40e31f360a8781910636455a (diff)
downloadsamba-c41fe665e4a4229ec663f03093c2b6b1c4648b86.tar.gz
samba-c41fe665e4a4229ec663f03093c2b6b1c4648b86.tar.bz2
samba-c41fe665e4a4229ec663f03093c2b6b1c4648b86.zip
r22162: get the TEST_LDAP mode working again
Andrew Bartlett (This used to be commit 529575d07aeb269927315eaff121408c1beefa59)
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