Ldap - createQuery

Ldap - createQuery

Description :

This command creates a new LDAP query with the user defined name, an LDAP base DN, an LDAP filter, an LDAP attribute to retrieve, and a description.

You can use this command as part of the setup for the Active Directory user synchronization feature. For information about this feature, see the RBAC section of the BMC BladeLogic User Guide (Managing access). This command returns a handle to the LDAP query object.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the LDAP query.

baseDN

String

Base distinguished name from which to start the query.

ldapFilter

String

LDAP filter to use in the query.

ldapAttribute

String

Name of the LDAP attribute to retrieve in the query.

description

String

Description of the LDAP query.

Example

The following example creates an LDAP query with name Administrators, base DN CN=Administrators,CN=Users,DC=us,DC=sso,DC=bmc,DC=com, filter (objectClass=user), an attribute named member, and the associated description.

Script

Ldap createQuery Administrators CN=Administrators,CN=Users,DC=us,DC=sso,DC=bmc,DC=com (objectClass=user) member "ActiveDirectory administrators" 



Was this page helpful? Yes No Submitting... Thank you

Comments