1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
samba-mirror/source3/lib/ldb/tests/kill_slapd.sh
Andrew Tridgell 3e2c696e45 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.
(This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)
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