| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Preamble - existing branch, user searching entry that will be non-targeted in future tests' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new aci branch,o=More Branches,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new aci branch,o=More Branches,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN - new branch, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new non-aci branch,o=More Branches,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new non-aci branch,o=More Branches,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN - new branch, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new aci branch,o=More Branches,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=new aci branch,o=More Branches,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN - new branch, postamble admin deleting new entries' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with trailing wildcard, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with trailing wildcard, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with leading wildcard, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with leading wildcard, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with internal wildcard, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with internal wildcard, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with multiple wildcards, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with multiple wildcards, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN Below Entry, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN Below Entry, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid: scarter' } |
| | | 'testString' : 'uid: scarter' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <script> |
| | | curr_aci2="(targetattr=\"*\")(version 3.0; acl \"add_aci15\"; deny (search,read) userdn=\"ldap:///all\";)" |
| | | </script> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target enable and disable ACIs, disable ACIs' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid: scarter' } |
| | | 'testString' : 'uid: scarter' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target enable and disable ACIs, enable ACIs' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: enable and disable ACIs, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target enable and disable global ACIs, disable ACIs' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid: scarter' } |
| | | 'testString' : 'uid: scarter' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target enable and disable global ACIs, enable ACIs' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equals all, user searching targeted entry as anonymous user' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equals all, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equals anyone, user searching targeted entry as anonymous user' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equals anyone, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn not equals all, user searching targeted entry as anonymous user' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn not equals all, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self, user searching targeted entry as self' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard, user searching targeted entry as self' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, user searching targeted entry as self' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, deny, user searching targeted entry as self' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, deny, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, allow and deny, user searching targeted entry as self' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with userdn equal self with wildcard and filter, allow and deny, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'creatorsName:' } |
| | | 'testString' : 'creatorsName:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'createTimestamp:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'entryDN:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'createTimestamp:' } |
| | | 'testString' : 'modifiersName:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'entryDN:' } |
| | | 'testString' : 'modifyTimestamp' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'modifiersName:' } |
| | | 'testString' : 'subschemaSubentry:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'modifyTimestamp' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'subschemaSubentry:' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: search for operational attributes, user searching targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'creatorsName:' } |
| | | 'testString' : 'creatorsName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'modifiersName:' } |
| | | 'testString' : 'modifiersName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: search for operational attributes, user searching targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'creatorsName:' } |
| | | 'testString' : 'creatorsName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'createTimestamp:' } |
| | | 'testString' : 'createTimestamp:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'entryDN:' } |
| | | 'testString' : 'entryDN:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'modifiersName:' } |
| | | 'testString' : 'modifiersName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'modifyTimestamp' } |
| | | 'testString' : 'modifyTimestamp' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'subschemaSubentry:' } |
| | | 'testString' : 'subschemaSubentry:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: search for operational attributes, admin modifying entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=acarter' } |
| | | 'testString' : 'dn: uid=acarter' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with comma, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=acarter' } |
| | | 'testString' : 'dn: uid=acarter' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN with comma, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN, default targetattr, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Target Equals DN, default targetattr, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Postamble - existing branch, user searching entry that was non-targeted in past tests' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=scarter,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Resetting Search Global ACI' |
| | | </message> |