From 092782e7350e3221158ccea80a58a43aeb0c451b Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Fri, 27 Jul 2007 19:33:46 +0000
Subject: [PATCH] More upgrades to the ACI functional tests to reflect the recent commit in revision 2449.
---
opends/tests/functional-tests/testcases/aci/aci_proxy_auth.xml | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/aci/aci_proxy_auth.xml b/opends/tests/functional-tests/testcases/aci/aci_proxy_auth.xml
index aba0b4a..603fc4f 100755
--- a/opends/tests/functional-tests/testcases/aci/aci_proxy_auth.xml
+++ b/opends/tests/functional-tests/testcases/aci/aci_proxy_auth.xml
@@ -92,9 +92,24 @@
<tcstatus result="'fail'"/>
</if>
- <message>
+ <script>
+ allow_aci='(targetcontrol=\"*\") (version 3.0; acl \"allow control access\"; allow(read) userdn=\"ldap:///anyone\";)'
+ </script>
+
+ <call function="'modifyAnAttribute'">
+ { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
+ 'DNToModify' : 'dc=example,dc=com' ,
+ 'attributeName' : 'aci' ,
+ 'newAttributeValue' : allow_aci ,
+ 'changetype' : 'add' }
+ </call>
+
+ <message>
'ACI: Proxy Auth: Preamble - existing branch, user searching entry that will be targeted in future tests'
- </message>
+ </message>
<call function="'SearchObject'">
{ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
@@ -2637,6 +2652,21 @@
<tcstatus result="'fail'"/>
</if>
+ <script>
+ allow_aci='(targetcontrol=\"*\") (version 3.0; acl \"allow control access\"; allow(read) userdn=\"ldap:///anyone\";)'
+ </script>
+
+ <call function="'modifyAnAttribute'">
+ { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
+ 'DNToModify' : 'dc=example,dc=com' ,
+ 'attributeName' : 'aci' ,
+ 'newAttributeValue' : allow_aci ,
+ 'changetype' : 'delete' }
+ </call>
+
<message>
'ACI: Proxy Auth: Postamble - Resetting Search Global ACI'
</message>
--
Gitblit v1.10.0