r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / lib / ldb / tests / start_slapd.sh
blob22e8548791a80c5cf948a9939f2fb812715fab51
1 #!/bin/sh
3 if [ -z "$LDBDIR" ]; then
4 LDBDIR=`dirname $0`/..
5 export LDBDIR
6 fi
8 mkdir -p $LDBDIR/tests/tmp/db
10 # running slapd with -d0 means it stays in the same process group, so it can be
11 # killed by timelimit
12 slapd -d0 -f $LDBDIR/tests/slapd.conf -h "`$LDBDIR/tests/ldapi_url.sh`" $* &
14 sleep 2