1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r7721: solve a problem with null arguments to testit()

(This used to be commit 73a21737ce)
This commit is contained in:
Andrew Tridgell 2005-06-18 11:10:54 +00:00 committed by Gerald (Jerry) Carter
parent b4eee348c4
commit 7dcb8c26de

View File

@ -13,7 +13,7 @@ SERVER="$1"
incdir=`dirname $0`
. $incdir/test_functions.sh
testit "RootDSE" bin/ldbsearch -b "''" -H ldap://$SERVER -s base DUMMY=x dnsHostName highestCommittedUSN || failed=`expr $failed + 1`
testit "RootDSE" bin/ldbsearch --basedn='' -H ldap://$SERVER -s base DUMMY=x dnsHostName highestCommittedUSN || failed=`expr $failed + 1`
echo "Getting defaultNamingContext"
BASEDN=`bin/ldbsearch -b '' -H ldap://$SERVER -s base DUMMY=x defaultNamingContext | grep ^defaultNamingContext | awk '{print $2}'`