repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dbwrap: Remove dbwrap_ntdb
[Samba.git]
/
lib
/
ldb
/
tests
/
start_slapd.sh
blob
11679d47a3ea6f7382c237326d3c93cd7dd8402a
1
#!/bin/sh
2
3
if
[
-z
"
$LDBDIR
"
];
then
4
LDBDIR
=
`dirname
$0
`
/
..
5
export
LDBDIR
6
fi
7
8
mkdir
-p
$LDBDIR
/
test
s
/
tmp
/
db
9
10
# running slapd in the background (with &) means it stays in the same process group, so it can be
11
# killed by timelimit
12
slapd
-d0 -f
$LDBDIR
/
test
s
/
slapd.conf
-h
"`
$LDBDIR
/tests/ldapi_url.sh`"
$
* &
13
14
sleep
2