summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-02-22 00:18:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:58 -0500
commit4515708b813621fa3f4a4dd7d0b08f3428cfccba (patch)
treea20c29f471908e932802dbbe8b32e7a06cacb2b4 /source4/script/tests
parent4b476ff4fbbba72d9497f6544c1f1fca9ff3a0ae (diff)
downloadsamba-4515708b813621fa3f4a4dd7d0b08f3428cfccba.tar.gz
samba-4515708b813621fa3f4a4dd7d0b08f3428cfccba.tar.bz2
samba-4515708b813621fa3f4a4dd7d0b08f3428cfccba.zip
r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett (This used to be commit b0e7a58cc9e513240c117ad5464c613c7b62410d)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_ldap.sh2
1 files changed, 1 insertions, 1 deletions
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`