| | |
| | | #@TestSuiteGroup ldapsearch check options tests |
| | | #@TestScript clu_ldapsearch_checkoptions.xml |
| | | --> |
| | | |
| | | <script> |
| | | if not CurrentTestPath.has_key('group'): |
| | | CurrentTestPath['group']='clu' |
| | | CurrentTestPath['suite']=STAXCurrentBlock |
| | | CurrentTestPath['group'] = 'clu' |
| | | CurrentTestPath['suite'] = STAXCurrentBlock |
| | | </script> |
| | | |
| | | <call function="'testSuite_Preamble'"/> |
| | | |
| | | <!--- Define default value for basedn and dsfilter --> |
| | | <script> |
| | | basedn = 'ou=ldapsearch,o=clu tests,dc=example,dc=com' |
| | | basedn = 'ou=ldapsearch,o=clu tests,dc=example,dc=com' |
| | | dsfilter = 'uid=user.10*' |
| | | </script> |
| | | |
| | |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with correct options. |
| | | #@TestPostamble none |
| | | #@TestResult Success if ldapsearch returns 0 |
| | | #@TestResult Success if ldapsearch returns 0. |
| | | --> |
| | | <testcase name="getTestCaseName('ldapsearch: correct options')"> |
| | | |
| | |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with an empty hostname. |
| | | #@TestPostamble none |
| | | #@TestResult Success if ldapsearch returns 89 |
| | | #@TestResult Success if ldapsearch returns 89. |
| | | --> |
| | | <testcase name="getTestCaseName('ldapsearch: empty hostname')"> |
| | | |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: invalid binddn |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify an invalid credentials error |
| | | doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with an invalid binddn. |
| | | #@TestPostamble none |
| | |
| | | |
| | | <!--- Test Case information |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: no password |
| | | #@TestName ldapsearch: no password provided |
| | | #@TestIssue 2624 |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify an inappropriate authentication error |
| | | doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch without a password. |
| | | #@TestPostamble none |
| | | #@TestResult Success if ldapsearch returns 48. |
| | | --> |
| | | <!-- This test is prompting for the password --> |
| | | <!--- Comment out this testcase as it hangs on some platform --> |
| | | <!--- |
| | | <testcase name="getTestCaseName('ldapsearch: no password provided')"> |
| | | |
| | | <sequence> |
| | |
| | | </sequence> |
| | | |
| | | </testcase> |
| | | --> |
| | | |
| | | <!--- Test Case information |
| | | #@TestMarker ldapsearch check options tests |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: scope with no option-argument |
| | | #@TestIssue 2619 |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify an invalid credentials error |
| | | doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with a scope and no value. |
| | | #@TestPostamble none |
| | |
| | | <!--- Test Case information |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: empty basedn |
| | | #@TestIssue 2619 |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with an empty basedn. |
| | |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'dsBaseDN' : ' ' , |
| | | 'dsFilter' : dsfilter , |
| | | 'expectedRC' : 89 |
| | | 'dsFilter' : dsfilter |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | knownIssue(2619) |
| | | </script> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: invalid basedn |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify a no such object error |
| | | doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with an invalid basedn. |
| | | #@TestPostamble none |
| | |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with timelimit of 20 seconds option. |
| | | #@TestStep Do an ldapsearch with timelimit of 20 |
| | | seconds option. |
| | | #@TestPostamble none |
| | | #@TestResult Success if ldapsearch returns 0. |
| | | --> |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: timelimit of 1 seconds |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify a time limit error doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with timelimit of 1 second. |
| | | #@TestPostamble none |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: sizelimit of 1 entries |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter error doing an ldapsearch. |
| | | #@TestPurpose Verify a size limit error doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with the sizelimit option. |
| | | #@TestPostamble none |
| | |
| | | <!--- Test Case information |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: help option |
| | | #@TestIssue 2619 |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with the help option. |
| | |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | knownIssue(2619) |
| | | </script> |
| | | |
| | | <call function="'testCase_Postamble'"/> |
| | | |
| | | </sequence> |
| | |
| | | #@TestMarker ldapsearch check options tests |
| | | #@TestName ldapsearch: invalid basedn |
| | | #@TestIssue none |
| | | #@TestPurpose Verify a parameter doing an ldapsearch. |
| | | #@TestPurpose Verify a no such object error |
| | | doing an ldapsearch. |
| | | #@TestPreamble none |
| | | #@TestStep Do an ldapsearch with the a bad base dn. |
| | | #@TestPostamble none |
| | |
| | | </sequence> |
| | | |
| | | </testcase> |
| | | |
| | | |
| | | <call function="'testSuite_Postamble'"/> |
| | | |
| | | </sequence> |