1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00
samba-mirror/source/lib/ldb/tests/kill_slapd.sh
Andrew Tridgell bbedf2e343 r18866: Jeremy and Volker have given the go-ahead on the group mapping ldb
code. Yay!

This first commit copies lib/ldb/ from Samba4. A huge congratulations
should go to Simo on this - he has put an enormous amount of work into
ldb, and it's great to see it go into the Samba3 tree.
2007-10-10 12:14:36 -05:00

13 lines
253 B
Bash
Executable File

#!/bin/sh
if [ -z "$LDBDIR" ]; then
LDBDIR=`dirname $0`/..
export LDBDIR
fi
if [ -f tests/tmp/slapd.pid ]; then
echo "killing slapd process `cat tests/tmp/slapd.pid`"
kill -9 `cat tests/tmp/slapd.pid`
rm -f tests/tmp/slapd.pid
fi