Step 4: Set the HCL Compass-LDAP mapping criteria

Use the installutil setcqldapmap subcommand to identify the HCL Compass user profile field and the LDAP user attribute that HCL Compass uses to map a user account in the HCL Compass database set to a user account in the LDAP directory.

Procedure


You can map an attribute to one of the following HCL Compass user profile record fields: CQ_EMAIL, CQ_FULLNAME, CQ_LOGIN_NAME, CQ_MISC_INFO, or CQ_PHONE. In place of an LDAP attribute, you can specify %login%, which resolves to the user name that the user enters in the HCL Compass login window.

Example

The following example directs HCL Compass to map the sAMAccountName LDAP attribute to the CQ_LOGIN_NAME field.

installutil setcqldapmap dbset_name cq_user cq_password cq_user_field <H>

installutil setcqldapmap 7.0.0 admin secret CQ_LOGIN_NAME sAMAccountName