Fix group base DN is erroneously used in place of user base DN

refs #10340
refs #10367

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
Vladislav Ponomarev 2015-10-02 15:40:08 +02:00 committed by Eric Lippmann
parent 5fa423cf03
commit ac7546d9f2
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt
return $this
->setGroupBaseDn($config->base_dn)
->setUserBaseDn($config->get('user_base_dn', $this->getGroupBaseDn()))
->setUserBaseDn($config->get('user_base_dn', $this->getUserBaseDn()))
->setGroupClass($config->get('group_class', $defaults->group_class))
->setUserClass($config->get('user_class', $defaults->user_class))
->setGroupNameAttribute($config->get('group_name_attribute', $defaults->group_name_attribute))