Refactored four of the aci test suites to account for the new parameter, expectedResult, in the searchStringForSubstring function.
| | |
| | | |
| | | <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> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Preamble - existing branch, user searching entry that will be non-targeted in future tests' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Equals One Attribute, user searching non-targeted entry but with targeted attribute' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Equals One Attribute, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Not Equals One Attribute, user searching non-targeted entry but with targeted attribute' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Not Equals One Attribute, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'sn:' } |
| | | 'testString' : 'sn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid:' } |
| | | 'testString' : 'uid:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Equals Three Attributes, user searching non-targeted entry but with targeted attributes' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Equals Three Attributes, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'sn:' } |
| | | 'testString' : 'sn:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid:' } |
| | | 'testString' : 'uid:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Not Equals Three Attributes, user searching non-targeted entry but with targeted attributes' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr Not Equals Three Attributes, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Bad Targetattr, user searching non-targeted entry but with targeted attribute' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Bad Targetattr, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,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' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr With Spaces, user searching non-targeted entry but with targeted attribute' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Targetattr With Spaces, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Targetattr Not Equals Wildcard, user searching non-targeted entry' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Target: Targetattr Not Equals Wildcard, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Postamble - existing branch, user searching entry that will be non-targeted in future tests' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=tmorris,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetattr: Postamble - Resetting Search Global ACI' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Preamble - user searching entry that will be non-targeted in future tests' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement, 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: Targetfilter: Targetfilter Equals One Statement, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement, 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: Targetfilter: Targetfilter Equals One Statement 2, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement 2, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement 3, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals One Statement 3, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals One Statement, user searching non-targeted entry in ACI branch' |
| | | </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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals One Statement, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals One Statement, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With or, one true, 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: Targetfilter: Targetfilter Equals Three Statements With or, one true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With or, one true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With or, one true, 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' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With or, one true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With or, one true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With or, none true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With or, none true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With and, one true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With and, one true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With and, all true, 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: Targetfilter: Targetfilter Equals Three Statements With and, all true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With and, all true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With and, all true, 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' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With and, all true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Not Equals Three Statements With and, all true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Wildcard and or, one true, 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: Targetfilter: Targetfilter Equals Three Statements With Wildcard and or, one true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Wildcard and or, one true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Two Wildcards and or, one true, 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: Targetfilter: Targetfilter Equals Three Statements With Two Wildcards and or, one true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Two Wildcards and or, one true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Wildcard With and, all true, 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: Targetfilter: Targetfilter Equals Three Statements With Wildcard With and, all true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Wildcard With and, all true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,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' : 'roomnumber:' } |
| | | 'testString' : 'roomnumber:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'cn:' } |
| | | 'testString' : 'cn:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'telephonenumber:' } |
| | | 'testString' : 'telephonenumber:' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Three Wildcards With and, all true, 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: Targetfilter: Targetfilter Equals Three Statements With Three Wildcards With and, all true, user searching non-targeted entry outside of the scope of the aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter Equals Three Statements With Three Wildcards With and, all true, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Targetfilter With Extra Spaces, admin deleting aci' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Postamble - user searching entry that was non-targeted' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' } |
| | | 'testString' : 'dn: uid=dmiller,ou=People,ou=non-aci branch,o=ACI Tests' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'ACI: Targetfilter: Postamble - Resetting Search Global ACI' |
| | | </message> |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'sn' } |
| | | 'testString' : 'sn' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'userpassword' } |
| | | 'testString' : 'userpassword' , |
| | | 'expectedResult' : '0' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '0'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'creatorsName' } |
| | | 'testString' : 'creatorsName' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | |
| | | |
| | | <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="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'matchingRules:' } |
| | | 'testString' : 'matchingRules:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: cn=schema' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'attributeTypes:' } |
| | | 'testString' : 'attributeTypes:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'dITStructureRules:' } |
| | | 'testString' : 'dITStructureRules:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'ldapSyntaxes:' } |
| | | 'testString' : 'ldapSyntaxes:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'matchingRules:' } |
| | | 'testString' : 'matchingRules:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'nameForms:' } |
| | | 'testString' : 'nameForms:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'objectClasses:' } |
| | | 'testString' : 'objectClasses:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: cn=schema' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'vendorName:' } |
| | | 'testString' : 'vendorName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: ' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'namingContexts:' } |
| | | 'testString' : 'namingContexts:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'supportedAuthPasswordSchemes:' } |
| | | 'testString' : 'supportedAuthPasswordSchemes:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'supportedControl:' } |
| | | 'testString' : 'supportedControl:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'supportedExtension:' } |
| | | 'testString' : 'supportedExtension:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'supportedFeatures:' } |
| | | 'testString' : 'supportedFeatures:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'supportedSASLMechanisms:' } |
| | | 'testString' : 'supportedSASLMechanisms:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'vendorName:' } |
| | | 'testString' : 'vendorName:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'vendorVersion:' } |
| | | 'testString' : 'vendorVersion:' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: ' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'sn' } |
| | | 'testString' : 'sn' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid' } |
| | | 'testString' : 'uid' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: uid=scarter,ou=People,ou=aci branch,o=ACI Tests' } |
| | |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'sn' } |
| | | 'testString' : 'sn' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'searchStringForSubstring'"> |
| | | { 'returnString' : returnString , |
| | | 'testString' : 'uid' } |
| | | 'testString' : 'uid' , |
| | | 'expectedResult' : '1' } |
| | | </call> |
| | | |
| | | <if expr="returnCode != '1'"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'checktestString'"> |
| | | { 'returnString' : returnString , |
| | | 'expectedString' : 'dn: uid=tmorris,ou=People,ou=aci branch,o=ACI Tests' } |