WS modifications to use checktestRC
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_max_pwd_age.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_max_pwd_age.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Preamble Step 2. Admin Enabling Force Password On Add' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_force_pwd_add.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_entry1.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Password' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'pizza' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 19 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_force_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_force_pwd_add.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Postamble Step 2. Adding Single New User' |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_entry2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Postamble Step 3. User Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Preamble Step 2. Admin Enabling Force Password On Reset' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_force_pwd_reset.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_user_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePswd' : 'pizza' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'pizza' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_add_attr.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_add_attr.ldif' % logsRemoteDataDir, |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Checking For Existence of User-added Attribute' |
| | | </message> |
| | |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'attrToBeCompared' : 'pager:+1 999 555-1212', |
| | | 'entryToBeCompared' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' } |
| | | 'entryToBeCompared' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'expectedRC' : 16 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 16 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'pizza' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_del_attr.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_del_attr.ldif' % logsRemoteDataDir, |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Checking For Existence of User-deleted Attribute' |
| | |
| | | 'entryToBeCompared' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstanceDn' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'pizza' , |
| | | 'attrToBeCompared' : 'l:Sunnyvale', |
| | | 'entryToBeCompared' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' } |
| | | 'entryToBeCompared' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePswd' : 'adminpizza' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 19 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd3.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Assigned Password' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'adminpizza' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With New Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_max_reset_age_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_user_pwd4.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd7.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_max_reset_age_short.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_user_pwd5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=mdog,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'adminshortpizza' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd8.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd8.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Password' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'newshortpizza' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_max_reset_age.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Postamble Step 2. Admin Disabling Force Password On Reset' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_force_pwd_reset.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Preamble Step 2 - Admin Enabling Exp Pwd No Warning' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_exp_pwd_no_warning.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: Preamble Step 3 -Admin Setting Pwd Time Exp' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_force_pwd_by_time.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'dsInstancePswd' : 'sprain' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_exp_pwd_no_warning.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_force_pwd_by_time.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Change: User Searching With Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'changetype' : 'replace' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'dsInstancePswd' : 'trident', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <if expr="RC != 19"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Search Bind 2' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'trident', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <if expr="RC != 19"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Search Bind 3' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'trident', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Search Bind 4' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'trident', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePswd' : 'forsook', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <if expr="RC != 19"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Reset Pwd, User resetting password' |
| | | </message> |
| | |
| | | 'changetype' : 'replace' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Reset Pwd, Admin reset max password age' |
| | | </message> |
| | |
| | | 'changetype' : 'replace' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Reset Pwd, Search Bind 2' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Grace Login: Reset Pwd, Search Bind 3' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'changetype' : 'replace' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: User Binding With Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Checking for Absence of Last Login Time' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Admin Enable Last Login Format Only' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_last-login-time-format.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: User Binding With Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Checking for Absence of Last Login Time' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: User Binding With Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Checking for Absence of Last Login Time' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 2. Admin Changing Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 3. User Binding Before Idle Lockout' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 5. User Binding After Idle Lockout' |
| | |
| | | 'dsInstancePswd' : 'destroy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Password Change Override Step 2. Admin Changing Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Password Change Override Step 3. User Binding Before Idle Lockout' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 30000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Password Change Override Step 5. User Changing Password' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_pwd_last_login.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 6. Sleep' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout 2 Step 2. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout 2 Step 3. Sleep' |
| | | </message> |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout 2 Step 4. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - User Bind Reset Step 2. Admin Changing Idle Lockout Interval' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - User Bind Reset Step 3. User Binding Before Idle Lockout' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - User Bind Reset Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 30000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - User Bind Reset Step 5. User Bind To Reset Last Login Time' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - User Bind Reset Step 6. Sleep' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. Sleep' |
| | | </message> |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login Step 2. Check User Bind' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login Step 3. Admin Changing Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login Step 4. User Binding' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'newdestroy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. Admin Resetting Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. Sleep' |
| | | </message> |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 5. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_last-login-time-format.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login 2 Step 2. Check User Bind' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login 2 Step 3. Admin Changing Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Disabled Last Login 2 Step 4. User Binding' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'newdestroy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_last-login-time-format.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. Admin Resetting Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 5. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 2. Admin Changing Idle Lockout Interval' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 3. User Binding Before Idle Lockout' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout Step 5. User Binding After Idle Lockout' |
| | |
| | | 'dsInstancePswd' : 'newdestroy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. User Binding' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 2 Step 2. Admin Changing Idle Lockout Interval' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 2 Step 3. User Binding Before Idle Lockout' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 2 Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 2 Step 5. User Changing Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_pwd_last_login2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 2 Step 6. User Binding After Idle Lockout' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 2. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 3. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Reset Idle Lockout Step 4. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_last-login-time-format.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 3 Step 2. Check User Bind' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 3 Step 3. Admin Changing Idle Lockout Interval' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_idle_lockout_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 3 Step 4. User Binding Before Idle Lockout' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'anotherdestroy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Long Idle Lockout - Pwd Change Override 3 Step 5. Admin Changing Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_pwd_last_login3.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Pwd Override 3 Step 6. User Binding After Admin Pwd Change' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_idle_lockout_interval.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Postamble Step 2. Admin Disabling Last Login Time Attribute' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_last-login-time-attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Postamble Step 3. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Postamble Step 4. Sleep' |
| | |
| | | { 'sleepForMilliSeconds' : 60000 } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Last Login: Postamble Step 5. User Binding' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Preamble Step 2. Admin Changing Lockout Count' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_lockout_cnt.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Preamble Step 3. User Lockout With Bad Pwd 3x' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Preamble Step 4. Admin Resetting User Pwd' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_user_pwd2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Preamble Step 5. User Bind With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_lockout_dur_short.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Short Lockout Duration - Sleeping' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Short Lockout Duration Step 3. User Bind With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_lockout_dur_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Long Lockout Duration Step 2. User Lockout With Bad Pwd 3x' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Long Lockout Duration - Sleeping' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bjablons,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'strawberry' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd6.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd6.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Long Lockout Duration Step 4. User Bind With New Password' |
| | |
| | | 'dsInstancePswd' : 'newberry' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_lockout_dur.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Postamble Step 2. User Lockout With Bad Pwd 3x' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Postamble Step 3. Admin Resetting User Pwd' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_user_pwd3.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Postamble Step 4. User Bind With New Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Duration: Postamble Step 5. Admin Resetting Lockout Count' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_lockout_cnt.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Fail Cnt: Preamble Step 2. Default Bind With Bad Pwd 3x' |
| | | </message> |
| | | |
| | | <script> |
| | | search_pwds = ['bad', 'bad', 'bad', 'oranges'] |
| | | search_pwds = ['bad', 'bad', 'bad'] |
| | | </script> |
| | | |
| | | <iterate var="pwds" in="search_pwds" indexvar="index"> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bhall,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'oranges', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_lockout_cnt.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Lockout Fail Cnt: Postamble Step 3. Check Bind With Bad Pwd 3x' |
| | | </message> |
| | | |
| | | <script> |
| | | search_pwds = ['bad', 'bad', 'bad', 'ruling'] |
| | | search_pwds = ['bad', 'bad', 'bad'] |
| | | </script> |
| | | |
| | | <iterate var="pwds" in="search_pwds" indexvar="index"> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds, |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=gfarmer,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'ruling', |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base'} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=dmiller,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'gosling' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd4.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd4.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <!--- User Search With Password --> |
| | |
| | | 'dsInstancePswd' : 'newgosling' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <!--- User Change Password --> |
| | | <message> |
| | | 'Security: Min Pwd Age: Postamble Reset: Step 4. User Changing Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/sales_pwd_policy.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_sales_person.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_lockout_cnt_sales.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | </message> |
| | | |
| | | <script> |
| | | search_pwds = ['bad', 'bad', 'bad', 'cardreader'] |
| | | search_pwds = ['bad', 'bad', 'bad'] |
| | | </script> |
| | | |
| | | <iterate var="pwds" in="search_pwds" indexvar="index"> |
| | |
| | | 'dsInstancePswd' : '%s' % pwds , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | </iterate> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=tclow,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'cardreaders' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/rm_sales_pwd_policy.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePswd' : 'supergal' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 80 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 80 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_entry_preencoded_pwd.ldif' % logsRemoteDataDir } |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_entry_preencoded_pwd.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 19 } |
| | | </call> |
| | | |
| | | <if expr="RC != 19"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | |
| | | 'dsInstancePswd' : 'superguy' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_enable_preencoded_pwds.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/add_entry_preencoded_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_disable_preencoded_pwds.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <call function="'SearchObject'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | |
| | | 'dsInstancePswd' : 'supergal' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_policy/pwd_policy_startup.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-x'} |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePswd' : 'newsprain' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=scarter,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'BadPwd' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd.ldif' % logsRemoteDataDir, |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: User Searching With Old Password' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'sprain' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: User Searching With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_change_pwd_policy.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: User Resetting Password' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=scarter,ou=people,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'sprain' , |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_reset_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49} |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_reset_pwd.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/admin_reset_pwd_policy.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: Postamble Step 2 - User Resetting Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_reset_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: Postamble Step 3 - User Searching With Old Password' |
| | | </message> |
| | |
| | | 'dsInstancePswd' : 'newsprain' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Policy: Postamble Step 4 - User Searching With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'attrToBeCompared' : 'ds-cfg-password-generator-dn:cn=anything', |
| | | 'entryToBeCompared' : 'cn=Root Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 16 } |
| | | 'entryToBeCompared' : 'cn=Root Password Policy,cn=Password Policies,cn=config', |
| | | 'expectedRC' : 16 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_add_many_schemes.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Deprecated Pwd Schemes: Preamble Step 2. User Change Password' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_depr_schemes.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Deprecating Pwd Schemes: Preamble Step 3. Checking for MD5 Scheme Before Deprecating' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_depr_MD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Deprecated Pwd Schemes: Admin Removing MD5 Scheme From Default' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_delete_MD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_add_BASE64.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_mult_schemes.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Multiple Pwd Schemes: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Multiple Pwd Schemes: Checking for SSHA Scheme On New Password' |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bhall,ou=people,ou=password tests,o=Pwd Storage Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'manyoranges' , |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_add_pwd.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_add_pwd.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 53 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Multiple Pwd Schemes: User Bind Final' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_BASE64.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_BASE64.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage BASE64: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage BASE64: Checking for BASE64 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_CLEAR.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_CLEAR.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage CLEAR: User Binding With New Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage CLEAR: Checking for CLEAR Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_MD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_MD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage MD5: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage MD5: Checking for MD5 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_SHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SHA: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SHA: Checking for SHA Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_SMD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SMD5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SMD5: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SMD5: Checking for SMD5 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Default Password Policy,cn=Password Policies,cn=config' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA: Checking for SSHA Scheme On New Password' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_BAD.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 53 } |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_BAD.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_SSHA256.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SSHA256.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA256: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA256: Checking for SSHA256 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_SSHA384.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SSHA384.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA384: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA384: Checking for SSHA384 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_change_SSHA512.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/user_change_pwd_SSHA512.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA512: User Binding With New Password' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Pwd Storage SSHA512: Checking for SSHA512 Scheme On New Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_storage/admin_reset_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | | </testcase> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_storage/pwd_storage_startup.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'extraParams' : '-x'} |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Length-Based Password Validator,cn=Password Validators,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Admin Enable Pwd Length Validator --> |
| | | <message> |
| | | 'Security: Pwd Length Min: Preamble Step 2. Admin Enabling Pwd Length Validator' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_enable_pwd_length_validator.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bhall,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'oranges' , |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_short.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_short.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <if expr="RC != 53"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Search With Password --> |
| | | <message> |
| | | 'Security: Pwd Length Min: Pwd Too Short 1 Step 2. User Searching With Password' |
| | |
| | | 'dsInstancePswd' : 'grape' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_change_min_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bhall,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'oranges' , |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_short2.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_short2.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <if expr="RC != 53"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Search With Password --> |
| | | <message> |
| | | 'Security: Pwd Length Min: Pwd Too Short 2 Step 2. User Searching With Password' |
| | |
| | | 'dsInstancePswd' : 'goo' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_short.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Search With Password --> |
| | | <message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_reset_min_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeCompared' : 'cn=Length-Based Password Validator,cn=Password Validators,cn=config' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Admin Change Maximum Pwd Length --> |
| | | <message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_change_max_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'uid=bhall,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'grape' , |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_long.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_long.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <if expr="RC != 53"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Search With Password --> |
| | | <message> |
| | | 'Security: Pwd Length Max: Pwd Too Long 1 Step 2. User Searching With Password' |
| | |
| | | 'dsInstancePswd' : 'pomegranates' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_long2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Search With Password --> |
| | | <message> |
| | | 'Security: Pwd Length Max: User Change Password Step 2. User Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_reset_max_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Change Password --> |
| | | <message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/user_change_pwd_too_long.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_validator/pwd_validator_startup.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/pwd_validator/add_sales_admin.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Admin Enable Pwd Length Validator --> |
| | | <message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_enable_pwd_length_validator.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <if expr="RC != 53"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Root Search With Password --> |
| | | <message> |
| | | 'Security: Root User Bypass Valid: No Bypass - Step 2. Root Searching With Password' |
| | |
| | | 'dsInstancePswd' : 'grape' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_enable_bypass_pwd_validator.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Bypass Enabled 1 - Step 2. Root Changing Password - Too Short' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Root Search With Password --> |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Bypass Enabled 1 - Step 3. Root Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_change_min_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- User Change Password - Too Short--> |
| | | <message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Root Search With Password --> |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Bypass Enabled 2 - Step 3. Root Searching With Password' |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : 'cn=Sales Admin' , |
| | | 'dsInstancePswd' : 'goo' , |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short3.ldif' % logsRemoteDataDir } |
| | | 'entryToBeModified' : '%s/security/pwd_validator/root_change_pwd_too_short3.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 53 } |
| | | </call> |
| | | |
| | | <if expr="RC != 53"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Root Search With Password --> |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Self-Change Pwd - Step 2. Root Searching With Password' |
| | |
| | | 'dsInstancePswd' : 'gaa' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-s base' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/delete_sales_admin.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <!--- Root Search With Original Password --> |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Postamble - Step 2. Admin Disabling Bypass For Pwd Validator' |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_disable_bypass_pwd_validator.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Postamble - Step 3. Admin Resetting Minimum Pwd Length' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_reset_min_pwd_length.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: Root User Bypass Valid: Postamble - Step 4. Admin Disabling Pwd Length Validator On Root Users' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_validator/admin_disable_pwd_length_validator.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-x'} |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_enable_sasl_anon.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=ANONYMOUS -o trace=Trace -s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_disable_sasl_anon.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL ANON: Anonymous Bind After ANONYMOUS SASL Mechanism Disabled' |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=ANONYMOUS -o trace=Trace -s base' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 7 } |
| | | 'extraParams' : '-o mech=ANONYMOUS -o trace=Trace -s base' , |
| | | 'expectedRC' : 7 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_CLEAR.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL CRAM-MD5: Preamble Step 2 - Admin Changing User Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o authid=u:jrunner -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o "authid=dn:uid=jrunner,ou=People,o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o authid=u:jcrawler -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o authid=u:jcrawler -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o "authid=dn:uid=jcrawler,ou=People,o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsBaseDN' : 'uid=jcrawler,ou=People,ou=Level One,o=SASL Tests,dc=example,dc=com' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL CRAM-MD5: User With Duplicate uid (u:) Binding With CRAM-MD5 SASL Mechanism' |
| | | </message> |
| | |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o authid=u:jcrawler -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL CRAM-MD5: Postamble Step 2 - Admin Changing User Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL CRAM-MD5: Postamble Step 3 - User (dn:) Binding With CRAM-MD5 SASL Mechanism' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o "authid=dn:uid=jrunner,ou=People,o=SASL Tests,dc=example,dc=com" -w catleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=CRAM-MD5 -o "authid=dn:uid=jrunner,ou=People,o=SASL Tests,dc=example,dc=com" -w catleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_CLEAR.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: Preamble Step 2 - Admin Changing User Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd3.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jsprinter -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jsprinter -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jwalleye' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jcarp' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jcarp' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authzid=jcarp -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 89 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authzid=jcarp -w frogleg' , |
| | | 'expectedRC' : 89 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_authzid_attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jwalleye' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jwalleye' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:Walleye -w frogleg -o authzid=Walleye' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_reset_authzid_attr.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o authid=u:jwalleye -w frogleg -o authzid=jwalleye' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -w frogleg -o authzid=jsprinter' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -w frogleg -o authzid=jsprinter' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_add_realm.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jsprinter" -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jsprinter" -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jwalleye" -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -o "realm=o=SASL Realm Tests,dc=example,dc=com -o "digest-uri=ldap:/auseng013.central.sun.com" " -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jsprinter" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jsprinter" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jwalleye" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=u:jwalleye" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jsprinter,ou=People,o=SASL Tests,dc=example,dc=com" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -o "realm=o=SASL Tests,dc=example,dc=com" -w frogleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equal sasl, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equal sasl, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding With ACI with authmethod equal sasl, put back global search ACI' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equal simple, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equal simple, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding With ACI with authmethod equal simple, put back global search ACI' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod not equals simple, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod not equals simple, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding With ACI with authmethod not equals simple, put back global search ACI' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equals none, sasl authentication' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -w bad' } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -w bad', |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <script> |
| | |
| | | 'dsInstanceDn' : 'uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com' , |
| | | 'dsInstancePswd' : 'bad' , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' } |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <script> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding with authmethod equals none, sasl authentication' |
| | | </message> |
| | |
| | | 'changetype' : 'delete' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: User (dn:) Binding With ACI with authmethod equals none, put back global search ACI' |
| | | </message> |
| | |
| | | 'changetype' : 'add' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_SSHA.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: Postamble Step 2 - Admin Changing User Password' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd4.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: Postamble Step 3 - Admin Deleting Realm' |
| | | </message> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_del_realm.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: Postamble Step 4 - User (dn:) Binding With Simple Authentication' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL DIGEST-MD5: Postamble Step 5 - User (dn:) Binding 2' |
| | | </message> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -w catleg' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=DIGEST-MD5 -o "authid=dn:uid=jwalleye,ou=People,o=SASL Realm Tests,dc=example,dc=com" -w catleg' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd5.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=PLAIN -o authid=u:mmiller -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | 'extraParams' : '-o mech=PLAIN -o authid=mmiller -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-o mech=PLAIN -o "authid=dn:uid=mmiller,ou=People,o=SASL Tests,dc=example,dc=com" -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=PLAIN -o authid=u:dmiller -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=PLAIN -o authid=u:dmiller -w mothergoose' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-o mech=PLAIN -o "authid=dn:uid=dmiller,ou=People,o=SASL Tests,dc=example,dc=com" -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=PLAIN -o "authid=uid=dmiller,ou=People,o=SASL Tests,dc=example,dc=com" -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 49 } |
| | | 'extraParams' : '-o mech=PLAIN -o "authid=uid=dmiller,ou=People,o=SASL Tests,dc=example,dc=com" -w mothergoose' , |
| | | 'expectedRC' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/security/sasl/admin_add_realm2.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 65 } |
| | | 'entryToBeModified' : '%s/security/sasl/admin_add_realm2.ldif' % logsRemoteDataDir , |
| | | 'expectedRC' : 65 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsBaseDN' : 'dc=example,dc=com' , |
| | | 'dsFilter' : 'objectclass=*' , |
| | | 'extraParams' : '-o mech=PLAIN -o authid=u:mmiller -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w mothergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 89 } |
| | | 'extraParams' : '-o mech=PLAIN -o authid=u:mmiller -o "realm=o=SASL Realm Tests,dc=example,dc=com" -w mothergoose' , |
| | | 'expectedRC' : 89 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'entryToBeModified' : '%s/security/sasl/admin_change_user_pwd6.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL PLAIN: Postamble Step 2 - User (dn:) Binding With Simple Authentication' |
| | | </message> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 0"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | | <message> |
| | | 'Security: SASL PLAIN: Postamble Step 3 - User (dn:) Binding With SASL PLAIN Mechanism' |
| | | </message> |
| | |
| | | 'extraParams' : '-o mech=PLAIN -o "authid=dn:uid=mmiller,ou=People,o=SASL Tests,dc=example,dc=com" -w fathergoose' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'entryToBeAdded' : '%s/security/sasl/sasl_startup.ldif' % logsRemoteDataDir } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | 'extraParams' : '-x'} |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |