refactor: Updated ldap auth to allow configurable uidnumber field (#7302)

This commit is contained in:
Neil Lathwood
2017-09-08 18:04:59 +01:00
committed by Tony Murray
parent ec72eb2960
commit f97b0b87a3
3 changed files with 4 additions and 2 deletions

View File

@@ -620,6 +620,7 @@ $config['auth_ldap_port'] = 389;
$config['auth_ldap_prefix'] = 'uid=';
$config['auth_ldap_suffix'] = ',ou=People,dc=example,dc=com';
$config['auth_ldap_group'] = 'cn=groupname,ou=groups,dc=example,dc=com';
$config['auth_ldap_uid_attribute'] = 'uidnumber';
$config['auth_ldap_attr']['uid'] = "uid";
$config['auth_ldap_groupbase'] = 'ou=group,dc=example,dc=com';