From 4515708b813621fa3f4a4dd7d0b08f3428cfccba Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Feb 2006 00:18:07 +0000 Subject: r13605: Use $BASEDN to ensure this works outside of the 'make test' rig. Andrew Bartlett (This used to be commit b0e7a58cc9e513240c117ad5464c613c7b62410d) --- source4/script/tests/test_ldap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh index f8657de5ec..ee97ea306f 100755 --- a/source4/script/tests/test_ldap.sh +++ b/source4/script/tests/test_ldap.sh @@ -73,7 +73,7 @@ for p in $PROTOCOLS; do fi echo "Test Attribute Scope Query Control" - nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' | grep sAMAccountName | wc -l` + nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=asq:1:member -s base -b "CN=Administrators,CN=Builtin,$BASEDN" | grep sAMAccountName | wc -l` if [ $nentries -lt 1 ]; then echo "Attribute Scope Query test returned 0 items" failed=`expr $failed + 1` -- cgit