Ldap - createConnection
Ldap - createConnection
Description :
This command creates a new LDAP connection with the user defined name, an LDAP URL, and a trust store file.
You can use this command as part of the setup for the Active Directory user synchronization feature. For information about this feature, see Managing-access. This command returns a handle to the LDAP connection object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
name | String | Name of the LDAP connection. |
url | String | URL of the LDAP connection. |
trustStoreFile | String | Path to the trust store file. |
description | String | Description of the LDAP connection. |
Example
The following example creates an LDAP connection with name SSO, URL engw2k8x64sso8.sso.bmc.com, and trust store file C:/p4/8_0_security/om/test/conf/ldap_trust_store.crt
Script
Ldap createConnection SSO engw2k8x64sso8.sso.bmc.com C:/p4/8_0_security/om/test/conf/ldap_trust_store.crt "My SSO connection"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*