mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

mkeyes
06.59.2007 db53b85bba59ffd25123ec93aa4341358b271b39
A couple of multi-ACI functional tests that were omitted in the previous commit.
6 files added
1 files modified
549 ■■■■■ changed files
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry4.ldif 46 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry4a.ldif 46 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry5.ldif 47 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry5a.ldif 47 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_acis4.ldif 50 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_acis5.ldif 50 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/aci/aci_add_entry.xml 263 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry4.ldif
New file
@@ -0,0 +1,46 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: uid=bhall, ou=People, ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
cn: Benjamin Hall
sn: Hall
givenname: Benjamin
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
ou: Product Development
ou: People
l: Paris
uid: bhall
mail: bhall@example.com
telephonenumber: +1 408 555 6067
facsimiletelephonenumber: +1 408 555 0111
roomnumber: 2511
userpassword: oranges
title: engineer
title: architect
title: sweeper
carlicense: ABC 123
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry4a.ldif
New file
@@ -0,0 +1,46 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: uid=bhall, ou=People, ou=non-aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
cn: Benjamin Hall
sn: Hall
givenname: Benjamin
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
ou: Product Development
ou: People
l: Paris
uid: bhall
mail: bhall@example.com
telephonenumber: +1 408 555 6067
facsimiletelephonenumber: +1 408 555 0111
roomnumber: 2511
userpassword: oranges
title: engineer
title: architect
title: sweeper
carlicense: ABC 123
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry5.ldif
New file
@@ -0,0 +1,47 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: uid=rdaugherty, ou=People, ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
cn: Robert Daugherty
sn: Daugherty
givenname: Robert
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
ou: Human Resources
ou: People
l: Paris
uid: rdaugherty
mail: rdaugherty@example.com
telephonenumber: +1 408 555 1296
facsimiletelephonenumber: +1 408 555 1992
roomnumber: 0194
userpassword: apples
title: engineer
title: architect
title: sweeper
carlicense: ABC 123
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_aci_entry5a.ldif
New file
@@ -0,0 +1,47 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: uid=rdaugherty, ou=People, ou=non-aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
cn: Robert Daugherty
sn: Daugherty
givenname: Robert
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
ou: Human Resources
ou: People
l: Paris
uid: rdaugherty
mail: rdaugherty@example.com
telephonenumber: +1 408 555 1296
facsimiletelephonenumber: +1 408 555 1992
roomnumber: 0194
userpassword: apples
title: engineer
title: architect
title: sweeper
carlicense: ABC 123
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_acis4.ldif
New file
@@ -0,0 +1,50 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (targetattr="*")(targetfilter="(title=sweeper)")(version 3.0; acl "add_multi_aci4"; allow (add) userdn="ldap:///all";)
dn: o=Add Tests, o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (targetattr="*")(targetfilter="(title=sweeper)")(version 3.0; acl "add_multi_aci4"; deny (delete,write) userdn="ldap:///all";)
dn: dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com")(targetattr="*")(targetfilter="(title=sweeper)")(version 3.0; acl "add_multi_aci4"; deny (search,write) userdn="ldap:///all";)
dn: o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com")(targetattr="*")(targattrfilters="add=l:(l=Paris),del=l:(|(l=San*)(l=Aus*)(l=Gren*))")(version 3.0; acl "add_multi_aci4"; deny (search,read) userdn="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com";)
dn: dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///o=ACI Tests, dc=example,dc=com")(targetattr="*")(version 3.0; acl "add_multi_aci4"; deny (selfwrite) userdn="ldap:///all";)
opends/tests/functional-tests/shared/data/aci/aci_add_entry/add_multi_acis5.ldif
New file
@@ -0,0 +1,50 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE
# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at
# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
# add the following below this CDDL HEADER, with the fields enclosed
# by brackets "[]" replaced with your own identifying information:
#      Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#      Portions Copyright 2007 Sun Microsystems, Inc.
#
dn: ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (targetattr="*")(targetfilter="(title=sweeper)")(version 3.0; acl "add_multi_aci5"; allow (add) userdn="ldap:///all";)
dn: o=Add Tests, o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (targetattr="*")(version 3.0; acl "add_multi_aci5"; deny (add) userdn="ldap:///uid=buser, ou=People, o=ACI Tests, dc=example,dc=com";)
dn: dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com")(targetattr="*")(targetfilter="(title=sweeper)")(version 3.0; acl "add_multi_aci5"; deny (search,write) userdn="ldap:///all";)
dn: o=ACI Tests, dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com")(targetattr="*")(targattrfilters="add=l:(l=Paris),del=l:(|(l=San*)(l=Aus*)(l=Gren*))")(version 3.0; acl "add_multi_aci5"; deny (search,read) userdn="ldap:///ou=aci branch, o=Add Tests, o=ACI Tests, dc=example,dc=com";)
dn: dc=example,dc=com
changetype: modify
add: aci
aci: (target="ldap:///o=ACI Tests, dc=example,dc=com")(targetattr="*")(version 3.0; acl "add_multi_aci5"; deny (selfwrite) userdn="ldap:///all";)
opends/tests/functional-tests/testcases/aci/aci_add_entry.xml
@@ -1403,7 +1403,7 @@
                Place test-specific test information here.
                The tag, TestMarker, must be the same as the tag, TestSuiteName.
                #@TestMarker                ACI Add Entry Tests
                #@TestName                  Add Entry  - Multi ACIs, overall deny
                #@TestName                  Add Entry  - Multi ACIs 1, overall deny
                #@TestIssue                 439
                #@TestPurpose               Add an entry against two ACIs with with overall deny
                #@TestPreamble              Admin adds an aci to the dn of one existing branch.
@@ -1418,7 +1418,7 @@
            -->
            <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
            <!-- cross reference to DS6 docs -->
            <testcase name="'ACI: Add: Add Entry - Multi ACIs, overall deny'">
            <testcase name="'ACI: Add: Add Entry - Multi ACIs 1, overall deny'">
              <sequence>
                <call function="'testCase_Preamble'"/>
                          
@@ -1428,7 +1428,7 @@
                </script>
        
                <message>
                   'ACI: Add: Add Entry - Multi ACIs, preamble adding aci,\n %s' % curr_aci
                   'ACI: Add: Add Entry - Multi ACIs 1, preamble adding aci,\n %s' % curr_aci
                </message>
    
                <call function="'modifyEntry'">
@@ -1444,7 +1444,7 @@
                </if>
    
                <message>
                   'ACI: Add: Add Entry - Multi ACIs, user adding entry in targeted branch'
                   'ACI: Add: Add Entry - Multi ACIs 1, user adding entry in targeted branch'
                </message>
    
                <call function="'addEntry'">
@@ -1460,7 +1460,7 @@
                </if>
    
                <message>
                   'ACI: Add: Add Entry - Multi ACIs, user adding entry in non-targeted branch'
                   'ACI: Add: Add Entry - Multi ACIs 1, user adding entry in non-targeted branch'
                </message>
    
                <call function="'addEntry'">
@@ -1476,7 +1476,7 @@
                </if>
    
                <message>
                   'ACI: Add: Add Entry - Multi ACIs, admin deleting aci'
                   'ACI: Add: Add Entry - Multi ACIs 1, admin deleting aci'
                </message>
    
                <call function="'modifyEntry'">
@@ -1492,7 +1492,7 @@
                </if>
    
                <message>
                   'ACI: Add: Add Entry - Multi ACIs, user adding entry in previously targeted branch'
                   'ACI: Add: Add Entry - Multi ACIs 1, user adding entry in previously targeted branch'
                </message>
    
                <call function="'addEntry'">
@@ -1763,6 +1763,255 @@
              </sequence>
            </testcase>
          
            <!---
                Place test-specific test information here.
                The tag, TestMarker, must be the same as the tag, TestSuiteName.
                #@TestMarker                ACI Add Entry Tests
                #@TestName                  Add Entry  - Multi ACIs 4, overall allow
                #@TestIssue                 439
                #@TestPurpose               Add an entry against two ACIs with an overall allow
                #@TestPreamble              Admin adds an aci to the dn of one existing branch.
                #@TestStep                  Client adds an entry in the targeted branch.
                #@TestStep                  Client adds an entry in the non-targeted branch.
                #@TestStep                  Remove aci.
                #@TestStep                  Client adds an entry in the previously targeted branch.
                #@TestPostamble             none
                #@TestResult                Success if OpenDS returns 0
                                            for ACI add and delete operations,
                                            0 for step 1, and
                                            50 for all other steps.
            -->
            <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
            <!-- cross reference to DS6 docs -->
            <testcase name="'ACI: Add: Add Entry - Multi ACIs 4, overall allow with many ACIs'">
              <sequence>
                <call function="'testCase_Preamble'"/>
                <script>
                    curr_aci_ldif_file = '%s/aci/aci_add_entry/add_multi_acis4.ldif' % LOCAL_DATA_DIR
                    curr_aci=retrieve_aci('%s' % curr_aci_ldif_file);
                </script>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 4, preamble adding aci,\n %s' % curr_aci
                </message>
                <call function="'modifyEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
                    'entryToBeModified'   : '%s' % curr_aci_ldif_file }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 4, user adding entry in targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_multi_aci_entry4.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 4, user adding entry in non-targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_multi_aci_entry4a.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 50">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 4, admin deleting aci'
                </message>
                <call function="'modifyEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
                    'entryToBeModified'   : '%s/aci/aci_add_entry/del_multi_acis2.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 4, user adding entry in previously targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_common_prohibited_entry.ldif' % STAGED_DATA_DIR }
                </call>
                <call function="'checktestRC'">
                    { 'returncode' : RC ,
                      'result'     : STAXResult ,
                      'expected'   : 50 }
                </call>
                <call function="'testCase_Postamble'"/>
              </sequence>
            </testcase>
            <!---
                Place test-specific test information here.
                The tag, TestMarker, must be the same as the tag, TestSuiteName.
                #@TestMarker                ACI Add Entry Tests
                #@TestName                  Add Entry  - Multi ACIs 5, mixed allow and deny with many ACIs
                #@TestIssue                 439
                #@TestPurpose               Add an entry against multiple ACIs where the allow or deny depends on specific userds
                #@TestPreamble              Admin adds an aci to the dn of one existing branch.
                #@TestStep                  Client adds an entry in the targeted branch.
                #@TestStep                  Client adds an entry in the targeted branch by a prohibited user.
                #@TestStep                  Client adds an entry in the non-targeted branch.
                #@TestStep                  Remove aci.
                #@TestStep                  Client adds an entry in the previously targeted branch.
                #@TestPostamble             none
                #@TestResult                Success if OpenDS returns 0
                                            for ACI add and delete operations,
                                            0 for step 1, and
                                            50 for all other steps.
            -->
            <!-- cross reference to http://docs.sun.com/source/816-6698-10/aci.html -->
            <!-- cross reference to DS6 docs -->
            <testcase name="'ACI: Add: Add Entry - Multi ACIs 5, mixed allow and deny with many ACIs'">
              <sequence>
                <call function="'testCase_Preamble'"/>
                <script>
                    curr_aci_ldif_file = '%s/aci/aci_add_entry/add_multi_acis5.ldif' % LOCAL_DATA_DIR
                    curr_aci=retrieve_aci('%s' % curr_aci_ldif_file);
                </script>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, preamble adding aci,\n %s' % curr_aci
                </message>
                <call function="'modifyEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
                    'entryToBeModified'   : '%s' % curr_aci_ldif_file }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, user adding entry in targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_multi_aci_entry5.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, user adding entry in targeted branch by a prohibited user'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=buser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_common_prohibited_entry.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 50">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, user adding entry in non-targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_multi_aci_entry5a.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 50">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, admin deleting aci'
                </message>
                <call function="'modifyEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
                    'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
                    'entryToBeModified'   : '%s/aci/aci_add_entry/del_multi_acis.ldif' % STAGED_DATA_DIR }
                </call>
                <if expr="RC != 0">
                    <tcstatus result="'fail'"/>
                </if>
                <message>
                   'ACI: Add: Add Entry - Multi ACIs 5, user adding entry in previously targeted branch'
                </message>
                <call function="'addEntry'">
                  { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
                    'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                    'dsInstanceDn'     : 'uid=auser,ou=people,o=ACI Tests,dc=example,dc=com' ,
                    'dsInstancePswd'   : 'ACIRules' ,
                    'entryToBeAdded'   : '%s/aci/aci_add_entry/add_common_prohibited_entry.ldif' % STAGED_DATA_DIR }
                </call>
                <call function="'checktestRC'">
                    { 'returncode' : RC ,
                      'result'     : STAXResult ,
                      'expected'   : 50 }
                </call>
                <call function="'testCase_Postamble'"/>
              </sequence>
            </testcase>
          <call function="'testSuite_Postamble'"/>
            
        </sequence>