Fix collection of user_base_dn from the UserBackend

Currently the group_base_dn is used, unless a user_base_dn is configured in the group backend.

refs #10402
This commit is contained in:
Markus Frosch 2015-10-20 10:02:42 +02:00
parent 6c313b816e
commit 33956e02f8
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', $defaults->user_base_dn))
->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))