Merge branch 'bugfix/domain-aware-auth-non-domain-ldap-group-backend-3250'
fixes #3250 fixes #3251
This commit is contained in:
commit
5cb7deda20
1
AUTHORS
1
AUTHORS
|
@ -48,6 +48,7 @@ Mikko Peltokangas <mikko@peltokangas.org>
|
|||
Munzir Taha <munzirtaha@gmail.com>
|
||||
Nicolai Buchwitz <nicolai.buchwitz@enda.eu>
|
||||
Noah Hilverling <noah.hilverling@icinga.com>
|
||||
Paolo Schiro <paolo.schiro@kpnqwest.it>
|
||||
Paul Richards <paul@minimoo.org>
|
||||
Pavlos Daoglou <pdaoglou@gmail.com>
|
||||
Pieter Lexis <pieter.lexis@powerdns.com>
|
||||
|
|
|
@ -689,6 +689,9 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt
|
|||
|
||||
$username = $user->getLocalUsername();
|
||||
} else {
|
||||
if ($user->hasDomain()) {
|
||||
return array();
|
||||
}
|
||||
$username = $user->getUsername();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue