diff options
Diffstat (limited to 'tests/slapd.sh.in')
-rw-r--r-- | tests/slapd.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/slapd.sh.in b/tests/slapd.sh.in index a0f9633..0713ddc 100644 --- a/tests/slapd.sh.in +++ b/tests/slapd.sh.in @@ -16,6 +16,9 @@ PORT=@test_ldapport@ export PORT PW=password export PW +simplebind() { + ldapsearch -h localhost -p $PORT -x -b '' -s base dn: "$@" +} add() { ldapadd -h localhost -p $PORT -x -D "cn=Directory Manager" -w $PW "$@" } @@ -34,7 +37,7 @@ search() { compare() { ldapcompare -h localhost -p $PORT -x -D "cn=Directory Manager" -w $PW "$@" } -export -f add modify modrdn delete search compare +export -f simplebind add modify modrdn delete search compare stopslapd() { if test -s $STATEDIR/pid ; then |