|
|
Author: abartlet
Date: 2006-02-22 00:18:07 +0000 (Wed, 22 Feb 2006)
New Revision: 13605
WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13605
Log:
Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/script/tests/test_ldap.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2006-02-21 23:21:28 UTC
(rev 13604)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2006-02-22 00:18:07 UTC
(rev 13605)
@@ -73,7 +73,7 @@
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`
|
|