Changed the return code for many functional tests to reflect the changes made in revision 1411.
This is a fix for Issue 1373.
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | |
| | | <!--- Test Case : Password Policy Teardown --> |
| | | <!--- Delete Branch --> |
| | | <testcase name="'Security: Acct Act: Postamble Reset'"> |
| | | <testcase name="'Security: Acct Act: Reset'"> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | #@TestStep New user without authpasswordobject binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 65 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: MD5 Policy - Add User w/o Objectclass'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep New user without password policy defined binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 21 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: MD5 Policy - Add User w/o Pwd Policy'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without authpasswordobject binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 65 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA1 Policy - Add User w/o Objectclass'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without password policy defined binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 21 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA1 Policy - Add User w/o Pwd Policy'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | #@TestStep New user without authpasswordobject binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 65 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA256 Policy - Add User w/o Objectclass'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without password policy defined binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 21 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA256 Policy - Add User w/o Pwd Policy'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without authpasswordobject binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 65 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA384 Policy - Add User w/o Objectclass'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without password policy defined binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 21 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA384 Policy - Add User w/o Pwd Policy'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestStep New user without authpasswordobject binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 65 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA512 Policy - Add User w/o Objectclass'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep New user without password policy defined binds. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 21 |
| | | and a search for the user returns 1. |
| | | and a search for the user returns 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: SHA512 Policy - Add User w/o Pwd Policy'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | |
| | | #@TestResult Success if OpenDS returns 0 |
| | | for ldapadd operation and the bind for the |
| | | new user. The bind by the old user should |
| | | return 1. |
| | | return 49. |
| | | --> |
| | | <testcase name="'Security: Auth Pwd Syntax: Default Policy - Add Users'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 53 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | </testcase> |
| | | |
| | | <!--- Test Case : Reset Configuration --> |
| | | <testcase name="'Security: Bind No Pwd: Postamble Reset'"> |
| | | <testcase name="'Security: Bind No Pwd: Postamble'"> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 53 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_add_attr.ldif' % STAGED_DATA_DIR } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_del_attr.ldif' % STAGED_DATA_DIR } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd8.ldif' % STAGED_DATA_DIR } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | <call function="'testCase_Postamble'"/> |
| | | </sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | 'entryToBeModified' : '%s/security/pwd_policy/user_change_pwd6.ldif' % STAGED_DATA_DIR } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | </call> |
| | | </iterate> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 80 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49} |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | 'extraParams' : '-s base' } |
| | | </call> |
| | | |
| | | <if expr="RC != 1"> |
| | | <if expr="RC != 49"> |
| | | <tcstatus result="'fail'"/> |
| | | </if> |
| | | |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep Anonymous bind to OpenDS. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 0 |
| | | for step 1 and returns 1 for step 2. |
| | | for step 1 and returns 7 for step 2. |
| | | --> |
| | | <testcase name="'Security: SASL ANON: Postamble'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 7 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=u:[name] format. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL CRAM-MD5: User With Duplicate uid (u:) Binding'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 0 |
| | | for all ldap operations except step 3. |
| | | In step 3, the ldap operation should return 1 |
| | | In step 3, the ldap operation should return 49 |
| | | because the password is no longer stored as CLEAR. |
| | | --> |
| | | <testcase name="'Security: SASL CRAM-MD5: Postamble'"> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=u:[name] format. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Dupe uid (u:) Bind'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=u:[name] format with an authzid of another unauthorized user. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: User (u:) Bind another authzid'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=u:[name] format with an authzid using the default, uid. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: User (u:) Bind authzid After Attr Change'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=dn:[DN] format and with authzid. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Dupe uid (dn:) Bind authzid'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep User bind with authid=u:[name] format |
| | | and the realm is specified. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Dupe uid (u:) Bind With Realm'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep User bind with authid=u:[name] format |
| | | and an undefined realm is specified. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Dupe uid (u:) Bind With Undefined Realm'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep User bind with authid=u:[name] format |
| | | and the realm is specified. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: User (u:) Bind With Undefined Realm'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep User bind with authid=dn:[DN] format |
| | | and the realm is specified. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Dupe uid (dn:) Bind With Undefined Realm'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestStep User bind with authid=dn:[DN] format |
| | | and the realm is specified. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: User (dn:) Bind With Undefined Realm'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 0 |
| | | for all ldap operations except step 5. |
| | | In step 5, the ldap operation should return 1 |
| | | In step 5, the ldap operation should return 49 |
| | | because the password is no longer stored as CLEAR. |
| | | --> |
| | | <testcase name="'Security: SASL DIGEST-MD5: Postamble'"> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1} |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=u:[name] format. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL PLAIN: User With Duplicate uid (u:) Binding'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | |
| | | #@TestPreamble none |
| | | #@TestStep User bind with authid=[dn] format. |
| | | #@TestPostamble none |
| | | #@TestResult Success if OpenDS returns 1. |
| | | #@TestResult Success if OpenDS returns 49. |
| | | --> |
| | | <testcase name="'Security: SASL PLAIN: User With Duplicate uid Binding'"> |
| | | <sequence> |
| | |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult , |
| | | 'expected' : 1 } |
| | | 'expected' : 49 } |
| | | </call> |
| | | |
| | | <call function="'testCase_Postamble'"/> |