A customer would like to automatically create users in the eDiscovery Platform for a select group of users and automatically assign roles to those users using LDAP.
Step 1: Make sure LDAP/LDAPS is working as expected. See KB article 100059507
If you know LDAP lookups and authentication are working skip to Step 2.
Step 2: Automatically create users in eDP Clearwell selectively for only a group of users within a group. If rather use a OU instead of a group, please see KB Article 100059394



Note: At this point any user account that is added to the "eDP Clearwell Users" group within Active Directory (AD) should be able to log into eDP Clearwell. If first time logging in, eDP Clearwell will automatically create the eDP Clearwell account within the product and assign the default role of Case User. A default role is required to be set.
Step 3: Automatically assign roles to the users.




Step 4: Configure the eDP properties for automatic role assignment:
esa.ldap.useLDAPRoles=true
esa.ldap.roleBase=ou=eDP Clearwell Roles,dc=edp,dc=lab
esa.ldap.roleName=name
esa.ldap.roleSearch=(member={0})
esa.ldap.roleSubtree=true
Explanation: The settings above will enable automatic LDAP automatic roles assignment within eDP. eDP Clearwell software will search within the base of "ou=eDP Clearwell Roles,dc=edp,dc=lab" for any roles/groups that are defined. If the user logging in cannot be found as a member of any of the roles/groups, the user will get the default role "Case User". When creating a group in Active directory, by default the group name is also automatically added to the ldap attribute called name as seen here using the adsiedit.exe tool:

Therefore, the appropriate setting esa.ldap.roleName is LDAP attribute called name.
Groups have an attribute called member that contains all members (user accounts) that belong to that group like the following using the adsiedit.exe tool:

Therefore, the appropriate value for esa.ldap.roleSearch is (member={0}). eDP Clearwell gets the canonical name for user trying to log in and replaces the {0} variable with the value. For example the string becomes:
(member=CN=Aaliyah Adams,OU=eDP Clearwell Users,DC=eDP,DC=lab)
ldp.exe is another tool that is used for LDAP testing. The below image is example testing the search string:

In short, eDP Clearwell is searching all roles under eDP Clearwell Roles for groups that have names beginning with "Clearwell ", searches each group for members to compare against the user trying to login as, and if found then removes the prefix from the group name to determine eDP Role to automatically set (Case Admin for example), look in eDP Roles to see if the role exist, is so automatically assign that role to that user that is logging in.