| | |
| | | |
| | | <function-arg-def name="attributeName" type="required"> |
| | | <function-arg-description> |
| | | Attribute to modify, e.g. minimum-password-length |
| | | Attribute to modify, e.g. min-password-length |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string" /> |
| | | </function-arg-def> |
| | |
| | | |
| | | <function-arg-def name="attributeName" type="required"> |
| | | <function-arg-description> |
| | | Attribute to get, e.g. minimum-password-length |
| | | Attribute to get, e.g. min-password-length |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string" /> |
| | | </function-arg-def> |
| | |
| | | |
| | | <function-arg-def name="attributeName" type="required"> |
| | | <function-arg-description> |
| | | Attribute to modify, e.g. minimum-password-length |
| | | Attribute to modify, e.g. min-password-length |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string" /> |
| | | </function-arg-def> |
| | |
| | | dsconfigCmd='' |
| | | dsBinPath='%s/%s' % (dsPath,fileFolder) |
| | | dsconfigCmd='%s/%s%s' % (dsBinPath,DSCONFIG,fileExt) |
| | | dsconfigParams = 'create-je-index -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s --set index-type:%s' % (host,port,rootDN,rootPwd,backendID, indexAttribute, ' --set index-type:'.join(indexTypes)) |
| | | dsconfigParams = 'create-local-db-index -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s --set index-type:%s' % (host,port,rootDN,rootPwd,backendID, indexAttribute, ' --set index-type:'.join(indexTypes)) |
| | | </script> |
| | | |
| | | <call function="'_dsconfigCommonArgs'" /> |
| | |
| | | operationArguments = indexProperty |
| | | if indexPropertyValue: |
| | | operationArguments = '%s:%s' % (indexProperty, indexPropertyValue) |
| | | dsconfigParams = 'set-je-index-prop -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s --%s %s' % ( host, port, rootDN, rootPwd, backendID, indexAttribute, operation, operationArguments ) |
| | | dsconfigParams = 'set-local-db-index-prop -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s --%s %s' % ( host, port, rootDN, rootPwd, backendID, indexAttribute, operation, operationArguments ) |
| | | </script> |
| | | <call function="'_dsconfigCommonArgs'" /> |
| | | <call function="'runCommand'"> |
| | |
| | | dsconfigCmd='' |
| | | dsBinPath='%s/%s' % (dsPath,fileFolder) |
| | | dsconfigCmd='%s/%s%s' % (dsBinPath,DSCONFIG,fileExt) |
| | | dsconfigParams = 'delete-je-index -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s' % (host,port,rootDN,rootPwd,backendID, indexAttribute) |
| | | dsconfigParams = 'delete-local-db-index -n -h %s -p %s -D "%s" -w %s --backend-name %s --index-name %s' % (host,port,rootDN,rootPwd,backendID, indexAttribute) |
| | | </script> |
| | | <call function="'_dsconfigCommonArgs'" /> |
| | | <call function="'runCommand'"> |
| | |
| | | STAFCmdParamsList.append('create-multimaster-domain') |
| | | STAFCmdParamsList.append('--provider-name "%s"' % providerName) |
| | | STAFCmdParamsList.append('--domain-name "%s"' % domainName) |
| | | STAFCmdParamsList.append('--set "replication-dn:%s"' % replicationDn) |
| | | STAFCmdParamsList.append('--set "base-dn:%s"' % replicationDn) |
| | | STAFCmdParamsList.append('--set "server-id:%s"' % serverId) |
| | | |
| | | for replServer in replicationServerList : |