mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
232bc1503f
- made yet another attempt to make ldb const clean. - "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility with and without indexing - added prototypes in ldb.h for ldb_msg_*() public functions (This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3)
16 lines
258 B
Bash
Executable File
16 lines
258 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export PATH=/usr/sbin:$PATH
|
|
|
|
rm -rf tests/tmp/db
|
|
mkdir -p tests/tmp/db
|
|
|
|
if pidof slapd > /dev/null; then
|
|
killall slapd
|
|
fi
|
|
sleep 2
|
|
if pidof slapd > /dev/null; then
|
|
killall -9 slapd
|
|
fi
|
|
slapadd -f tests/slapd.conf < tests/init.ldif || exit 1
|