Add support for LDAP directories using member in stead of memberUid and dn in stead of username for group members.

Used the same variables as Observium, see http://www.observium.org/wiki/Authentication_modules#OpenLDAP
This commit is contained in:
Ultra2D
2015-04-01 16:10:50 +02:00
parent 74badf86de
commit 0ab454fefc
2 changed files with 18 additions and 3 deletions
+1
View File
@@ -416,6 +416,7 @@ $config['auth_ldap_groupbase'] = "ou=group,dc=example,dc=com";
$config['auth_ldap_groups']['admin']['level'] = 10;
$config['auth_ldap_groups']['pfy']['level'] = 7;
$config['auth_ldap_groups']['support']['level'] = 1;
$config['auth_ldap_groupmemberattr'] = "memberUid";
// Sensors