Connect to an LDAP directory
The task below applies to a
UEM
on-premises environment. In a UEM Cloud
environment, install and configure the BlackBerry Connectivity Node to connect to your company directory.- Create an LDAP account forUEMthat is located in the relevant LDAP directory. The account must meet the following requirements:
- The account must have permission to read all users in the directory.
- The password must be configured not to expire and does not need to be changed at the next login.
- If the LDAP connection is SSL encrypted, verify that you have the server certificate for the LDAP connection and that the LDAP server supports TLS 1.2. If SSL is enabled, the LDAP connection toUEMmust use TLS 1.2.
- Verify the LDAP attribute values that your organization uses (the steps below give examples for typical attribute values), you will use them in the steps below.
- In theUEMmanagement console, on the menu bar, clickSettings > External integration > Company directory.
- Click> LDAP connection.
- In theDirectory connection namefield, type a name for the directory connection.
- In theLDAP server discoverydrop-down list, do one of the following:
- To automatically discover the LDAP server, clickAutomatic. In theDNS domain namefield, type the domain name for the server that hosts the company directory.
- To specify a list of LDAP servers, clickSelect server from list below. In theLDAP serverfield, type the name of the LDAP server. To add more LDAP servers, click .
- In theEnable SSLdrop-down list, perform one of the following actions:
- If the LDAP connection is SSL encrypted, clickYes. Beside theLDAP server SSL certificatefield, clickBrowseand select the LDAP server certificate.
- If the LDAP connection is not SSL encrypted, clickNo.
- In theLDAP portfield, type the TCP port number for communication. The default values are 636 for SSL enabled or 389 for SSL disabled.
- In theAuthorization requireddrop-down list, do one of the following:
- If authorization is required for the connection, clickYes. In theLoginfield, type the DN of the user that is authorized to log in to LDAP (for example, an=admin,o=Org1). In thePasswordfield, type the password.
- If authorization is not required for the connection, clickNo.
- In theUser search basefield, type the value to use as the base DN for user information searches.
- In theLDAP user search filterfield, type the LDAP search filter that is required to find user objects in your organization's directory server. For example, for anIBM Domino Directory, type(objectClass=Person).
- In theLDAP user search scopedrop-down list, do one of the following:
- To search all objects following the base object, clickAll levels. This is the default setting.
- To search objects that are one level directly following the base DN, clickOne level.
- In theUnique identifierfield, type the name of the attribute that uniquely identifies each user in your organization's LDAP directory (must be a string that is immutable and globally unique). For example,dominoUNID.
- In theFirst namefield, type the attribute for each user’s first name (for example,givenName).
- In theLast namefield, type the attribute for each user’s last name (for example,sn).
- In theLogin attributefield, type the login attribute to use for authentication (for example,uid).
- In theEmail addressfield, type the attribute for each user's email address (for example,mail). If you do not set the value, a default value is used.
- In theDisplay namefield, type the attribute for each user's display name (for example,displayName). If you do not set the value, a default value is used.
- In theUser Principal Namefield, type the user principal name for SCEP (for example,mail).
- In theDepartmentfield, type the attribute for each user's department.
- In theJob Titlefield, type the attribute for each user's job title.
- If you want to synchronize additional fields from the LDAP directory, select theSynchronize additional user detailscheck box. Type the attributes for the additional fields as necessary.
- To enable directory-linked groups for the directory connection, select theEnable directory-linked groupscheck box.
- In theGroup search basefield, type the value to use as the base DN for group information searches.
- In theLDAP group search filterfield, type the LDAP search filter that is required to find group objects in your company directory. For example, forIBM Domino Directory, type(objectClass=dominoGroup).
- In theGroup Unique Identifierfield, type the attribute for each group's unique identifier. This attribute must be immutable and globally unique (for example, typecn).
- In theGroup Display namefield, type the attribute for each group's display name (for example, typecn).
- In theGroup Membership attributefield, type the name of the attribute for group membership. The attribute values must be in DN format (for example,CN=jsmith,CN=Users,DC=example,DC=com).
- In theTest Group Namefield, type an existing group name for validating the group attributes specified.
- If you want to enable paged searching for group members, select theEnable paged group searchcheck box.
- ClickSave.
- ClickClose.
- Do any of the following optional tasks:
- If you remove a directory connection, all users that were added toUEMfrom that directory will be converted to local users. Once users are converted to local users they can't be converted back to directory linked users, even if you later re-add the company directory connection. Users will continue to function as local users butUEMwill not be able to synchronize updates from the company directory.