1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

nsswitch:tests: Use ldb(modify|search) from the system

If Samba is built against the system libldb, use the system tools.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Dec  5 09:36:40 UTC 2022 on sn-devel-184
This commit is contained in:
Andreas Schneider 2022-12-01 15:49:43 +01:00 committed by Volker Lendecke
parent 5ea3a15be6
commit b97d31abb4

View File

@ -16,8 +16,15 @@ TRUST_SERVER="$5"
TRUST_PASSWORD="$6"
wbinfo="$VALGRIND $BINDIR/wbinfo"
ldbmodify="$VALGRIND $BINDIR/ldbmodify"
ldbsearch="$VALGRIND $BINDIR/ldbsearch"
ldbmodify="${VALGRIND} ldbmodify"
if [ -x "${BINDIR}/ldbmodify" ]; then
ldbmodify="${VALGRIND} ${BINDIR}/ldbmodify"
fi
ldbsearch="${VALGRIND} ldbsearch"
if [ -x "${BINDIR}/ldbsearch" ]; then
ldbsearch="${VALGRIND} ${BINDIR}/ldbsearch"
fi
failed=0