diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-11-21 14:11:54 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-12-18 20:50:08 +0100 |
commit | b1ecde9c9a1a7279d2f68cf970f374846ff6d45e (patch) | |
tree | ec715e969a29ea0d1587ba9c8759e82dfefaace6 /testprogs | |
parent | 54c8bca3b08a8b17a2564b968bdfb51178fce281 (diff) | |
download | samba-b1ecde9c9a1a7279d2f68cf970f374846ff6d45e.tar.gz |
testprogs/test_ldb: check rootdse search with extended-dn control
Verifies BUG: https://bugzilla.samba.org/show_bug.cgi?id=10949
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Dec 12 20:15:46 CET 2014 on sn-devel-104
(cherry picked from commit 7e81fe282540a5b52dcb8c5396321a67733790d2)
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_ldb.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_ldb.sh b/testprogs/blackbox/test_ldb.sh index f326672670..60bad44ebb 100755 --- a/testprogs/blackbox/test_ldb.sh +++ b/testprogs/blackbox/test_ldb.sh @@ -37,6 +37,8 @@ export PATH="$BINDIR:$PATH" ldbsearch="$VALGRIND ldbsearch" check "RootDSE" $ldbsearch $CONFIGURATION $options --basedn='' -H $p://$SERVER -s base DUMMY=x dnsHostName highestCommittedUSN || failed=`expr $failed + 1` +check "RootDSE (full)" $ldbsearch $CONFIGURATION $options --basedn='' -H $p://$SERVER -s base '(objectClass=*)' || failed=`expr $failed + 1` +check "RootDSE (extended)" $ldbsearch $CONFIGURATION $options --basedn='' -H $p://$SERVER -s base '(objectClass=*)' --extended-dn || failed=`expr $failed + 1` echo "Getting defaultNamingContext" BASEDN=`$ldbsearch $CONFIGURATION $options --basedn='' -H $p://$SERVER -s base DUMMY=x defaultNamingContext | grep defaultNamingContext | awk '{print $2}'` |