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

el_kaboing
19.29.2007 bf81d882a5e7e16e49a1c40e573ab07e3ef80f05
Changed the return code for many functional tests to reflect the changes made in revision 1411.
This is a fix for Issue 1373.

25 files modified
188 ■■■■ changed files
opends/tests/functional-tests/testcases/security/account_activation/security_account_expiration.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/account_activation/security_teardown_account_activation.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/account_activation/security_test_account.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_MD5_policy.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA1_policy.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA256_policy.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA384_policy.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA512_policy.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_def_policy.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/bind_no_pwd/security_pwd_null.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_force_pwd_change.xml 14 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_force_pwd_change_all_users.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_last_login.xml 10 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_lockout_duration.xml 12 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_lockout_fail_cnt.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_min_pwd_age.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_mult_pwd_policies.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_preencoded_pwds.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_policy/security_user_pwd_policy.xml 10 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml 6 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/sasl/security_sasl_anon.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/sasl/security_sasl_cram-md5.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/sasl/security_sasl_digest-md5.xml 40 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/sasl/security_sasl_plain.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/security/account_activation/security_account_expiration.xml
@@ -104,7 +104,7 @@
          <call function="'checktestRC'">
              { 'returncode' : RC ,
                'result'     : STAXResult ,
                'expected'   : 1 }
                'expected'   : 49 }
          </call>
          <call function="'testCase_Postamble'"/>
        </sequence>
opends/tests/functional-tests/testcases/security/account_activation/security_teardown_account_activation.xml
@@ -35,7 +35,7 @@
        <!--- 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>
opends/tests/functional-tests/testcases/security/account_activation/security_test_account.xml
@@ -104,7 +104,7 @@
         <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_MD5_policy.xml
@@ -169,7 +169,7 @@
            #@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>
@@ -207,7 +207,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -228,7 +228,7 @@
            #@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>
@@ -266,7 +266,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA1_policy.xml
@@ -166,7 +166,7 @@
            #@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>
@@ -204,7 +204,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
@@ -224,7 +224,7 @@
            #@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>
@@ -262,7 +262,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA256_policy.xml
@@ -166,7 +166,7 @@
            #@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>
@@ -204,7 +204,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
@@ -224,7 +224,7 @@
            #@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>
@@ -262,7 +262,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA384_policy.xml
@@ -166,7 +166,7 @@
            #@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>
@@ -204,7 +204,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
@@ -224,7 +224,7 @@
            #@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>
@@ -262,7 +262,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_SHA512_policy.xml
@@ -167,7 +167,7 @@
            #@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>
@@ -205,7 +205,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -226,7 +226,7 @@
            #@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>
@@ -264,7 +264,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            <call function="'testCase_Postamble'"/>
     
opends/tests/functional-tests/testcases/security/auth_pwd_syntax/security_auth_pwd_syntax_def_policy.xml
@@ -94,7 +94,7 @@
            #@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>
@@ -150,7 +150,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -206,7 +206,7 @@
                'extraParams'      : '-s base' }
            </call>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/security/bind_no_pwd/security_pwd_null.xml
@@ -78,7 +78,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 53 }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
@@ -209,7 +209,7 @@
        </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>
@@ -244,7 +244,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 53 }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
opends/tests/functional-tests/testcases/security/pwd_policy/security_force_pwd_change.xml
@@ -301,7 +301,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
@@ -323,7 +323,7 @@
                '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>
@@ -365,7 +365,7 @@
                '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>
@@ -410,7 +410,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
@@ -477,7 +477,7 @@
                'extraParams'      : '-s base' }
            </call>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
@@ -665,7 +665,7 @@
                '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>
@@ -686,7 +686,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
opends/tests/functional-tests/testcases/security/pwd_policy/security_force_pwd_change_all_users.xml
@@ -112,7 +112,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            <call function="'testCase_Postamble'"/>
          </sequence>
opends/tests/functional-tests/testcases/security/pwd_policy/security_last_login.xml
@@ -359,7 +359,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -894,7 +894,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -1063,7 +1063,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -1246,7 +1246,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -1578,7 +1578,7 @@
                'extraParams'      : '-s base' }
            </call>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/security/pwd_policy/security_lockout_duration.xml
@@ -89,7 +89,7 @@
              </call>
            </iterate>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
@@ -183,7 +183,7 @@
              </call>
            </iterate>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
@@ -303,7 +303,7 @@
              </call>
            </iterate>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
@@ -327,7 +327,7 @@
                '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>
@@ -348,7 +348,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -395,7 +395,7 @@
              </call>
            </iterate>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/security/pwd_policy/security_lockout_fail_cnt.xml
@@ -137,7 +137,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy/security_min_pwd_age.xml
@@ -107,7 +107,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy/security_mult_pwd_policies.xml
@@ -167,7 +167,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -256,7 +256,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 80 }
            </call>
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy/security_preencoded_pwds.xml
@@ -93,7 +93,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -201,7 +201,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_policy/security_user_pwd_policy.xml
@@ -108,7 +108,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -135,7 +135,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1  }
                  'expected'   : 49  }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -177,7 +177,7 @@
                'extraParams'      : '-s base' }
            </call>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
@@ -240,7 +240,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49}
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -298,7 +298,7 @@
                'extraParams'      : '-s base' }
            </call>
            <if expr="RC != 1">
            <if expr="RC != 49">
                <tcstatus result="'fail'"/>
            </if>
opends/tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml
@@ -115,7 +115,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -187,7 +187,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -347,7 +347,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml
@@ -117,7 +117,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -289,7 +289,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/sasl/security_sasl_anon.xml
@@ -128,7 +128,7 @@
            #@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>
@@ -164,7 +164,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 7 }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/sasl/security_sasl_cram-md5.xml
@@ -182,7 +182,7 @@
            #@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>
@@ -202,7 +202,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -319,7 +319,7 @@
            #@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'">
@@ -372,7 +372,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/sasl/security_sasl_digest-md5.xml
@@ -106,7 +106,7 @@
            #@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>
@@ -126,7 +126,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -221,7 +221,7 @@
            #@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>
@@ -241,7 +241,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -337,7 +337,7 @@
            #@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>
@@ -357,7 +357,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -530,7 +530,7 @@
            #@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>
@@ -550,7 +550,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -646,7 +646,7 @@
            #@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>
@@ -666,7 +666,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -844,7 +844,7 @@
            #@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>
@@ -864,7 +864,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -884,7 +884,7 @@
            #@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>
@@ -904,7 +904,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -924,7 +924,7 @@
            #@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>
@@ -944,7 +944,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -964,7 +964,7 @@
            #@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>
@@ -984,7 +984,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -1009,7 +1009,7 @@
            #@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'">
@@ -1096,7 +1096,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1}
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
opends/tests/functional-tests/testcases/security/sasl/security_sasl_plain.xml
@@ -203,7 +203,7 @@
            #@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>
@@ -223,7 +223,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>
@@ -280,7 +280,7 @@
            #@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>
@@ -300,7 +300,7 @@
            <call function="'checktestRC'">
                { 'returncode' : RC ,
                  'result'     : STAXResult ,
                  'expected'   : 1 }
                  'expected'   : 49 }
            </call>
            
            <call function="'testCase_Postamble'"/>