Ldap - setQueryBaseDN
Ldap - setQueryBaseDN
Description :
This command sets the base distinguished name of an existing LDAP query. This command returns a handle to the updated LDAP query object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
queryName | String | Name of the LDAP query. |
baseDN | String | Base distinguished name from which to start the query. |
Example
The following example modifies the base distinguished name of a given LDAP query.
Script
Ldap setQueryBaseDN Administrators CN=Administrators,CN=Users,DC=sso,DC=bmc,DC=com
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*