diff --git a/AUTHORS b/AUTHORS index bbaa6536c..314331454 100644 --- a/AUTHORS +++ b/AUTHORS @@ -48,6 +48,7 @@ Mikko Peltokangas Munzir Taha Nicolai Buchwitz Noah Hilverling +Paolo Schiro Paul Richards Pavlos Daoglou Pieter Lexis diff --git a/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php b/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php index 56c03b4ee..9c76ee5b7 100644 --- a/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php +++ b/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php @@ -689,6 +689,9 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt $username = $user->getLocalUsername(); } else { + if ($user->hasDomain()) { + return array(); + } $username = $user->getUsername(); }