mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r7721: solve a problem with null arguments to testit()
(This used to be commit 73a21737ce
)
This commit is contained in:
parent
b4eee348c4
commit
7dcb8c26de
@ -13,7 +13,7 @@ SERVER="$1"
|
|||||||
incdir=`dirname $0`
|
incdir=`dirname $0`
|
||||||
. $incdir/test_functions.sh
|
. $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"
|
echo "Getting defaultNamingContext"
|
||||||
BASEDN=`bin/ldbsearch -b '' -H ldap://$SERVER -s base DUMMY=x defaultNamingContext | grep ^defaultNamingContext | awk '{print $2}'`
|
BASEDN=`bin/ldbsearch -b '' -H ldap://$SERVER -s base DUMMY=x defaultNamingContext | grep ^defaultNamingContext | awk '{print $2}'`
|
||||||
|
Loading…
Reference in New Issue
Block a user