| | |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="dn"/> |
| | | </function-arg-def> |
| | | <function-arg-def name="useCmpRC" type="optional"> |
| | | <function-arg-def name="useCmpRC" type="optional" default="'True'"> |
| | | <function-arg-description> |
| | | Use an exit code that indicates whether comparison is successful. |
| | | Results are an exit code of 6 (COMPARE_TRUE) or |
| | |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="option"/> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-def name="expectedRC" type="optional" default="6"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0 |
| | | Expected return code value. Default value is 6 (COMPARE_TRUE). |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | |
| | | if dsUseSSL: |
| | | STAFCmdParamsList.append('-Z') |
| | | |
| | | if useCmpRC: |
| | | if useCmpRC == 'True': |
| | | STAFCmdParamsList.append('--useCompareResultCode') |
| | | |
| | | if dsDn: |
| | |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string"/> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-def name="useCmpRC" type="optional" default="'True'"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0 |
| | | Use an exit code that indicates whether comparison is successful. |
| | | Results are an exit code of 6 (COMPARE_TRUE) or |
| | | an exit code of 5 (COMPARE_FALSE). |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="option"/> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="6"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 6 (COMPARE_TRUE). |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | |
| | | |
| | | <!-- Set common ldap arguments --> |
| | | <call function="'_ldapCommonArgs'"/> |
| | | <script> |
| | | <script> |
| | | if useCmpRC == 'True': |
| | | STAFCmdParamsList.append('--useCompareResultCode') |
| | | |
| | | if extraParams: |
| | | STAFCmdParamsList.append('%s' % extraParams) |
| | | |