Products | Versions |
---|---|
TIBCO Data Virtualization | All Supported Versions |
This article will list the steps to create an LDAP domain using an API instead of having to do this manually from the Web Manager.
<user:createDomain xmlns:user="http://www.compositesw.com/services/system/admin/user" xmlns:common="http://www.compositesw.com/services/system/util/common"> <user:domainName>ldap11</user:domainName> <user:domainType>LDAP</user:domainType> <user:isBlocking>1</user:isBlocking> <user:attributes> <common:attribute> <common:name>a_domain_subtype</common:name> <common:type>STRING</common:type> <common:value>active directory</common:value> </common:attribute> <common:attribute> <common:name>a_domain_url</common:name> <common:type>STRING</common:type> <common:value>ldap://xx.xx.xx.xx/xxx/</common:value> </common:attribute> <common:attribute> <common:name>a_domain_admin_name</common:name> <common:type>STRING</common:type> <common:value>admin</common:value> </common:attribute> <common:attribute> <common:name>a_domain_admin_password</common:name> <common:type>PASSWORD_STRING</common:type> <common:value>password</common:value> </common:attribute> </user:attributes> </user:createDomain>6. Once the details are verified, click on the Ok button