We have been able to successfully create Drupal accounts using LDAP authentication. However, we are unable to assign Drupal Roles. We have tried several different configurations and options in Part II. How are drupal role drupal roles derived from LDAP data?
Nothing has worked. Here is what we currently have:
LDAP to drupal role Configuration
Part I. Core Configuration.
Hide Core Configuration
LDAP Server used in drupal role configuration. *
LDAP Server 1
Short description for this role configuration.
Enable this configuration
Only apply the following LDAP to drupal role configuration to users authenticated via LDAP.
Part II. How are drupal role drupal roles derived from LDAP data? First, we need to configure how LDAP data is used to derive drupal role drupal roles. One or more of the following 3 approaches may be used.
Hide II.A. Derive drupal role from DN
drupal role is derived from user's DN
Check this option if your users' DNs look like cn=jdoe,ou=Group1,cn=example,cn=com and Group1 turns out to be the drupal role_short you want.
Attribute of the DN which contains the role name
The name of the attribute which contains the role name. In the example above, it would be ou, as the DN contains the string ou=Group1 and Group1 happens to be the desired !consumer_short_name name.
Hide II.B. Derive drupal roles by attribute