diff --git a/doc/installation.md b/doc/installation.md index 4f481dcb1..57abe0dd2 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -501,4 +501,6 @@ The first release candidate of Icinga Web 2 introduces the following non-backwar ## Upgrading to Icinga Web 2 2.1.x -Icinga Web 2 2.1.x does not introduce any backward incompatible change. +* Since Icinga Web 2 version 2.1.3 LDAP user group backends respect the configuration option `group_filter`. + Users who changed the configuration manually and used the option `filter` instead + have to change it back to `group_filter`. diff --git a/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php b/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php index 8a17f6160..3f912b0ca 100644 --- a/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php +++ b/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php @@ -705,7 +705,7 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt ->setGroupNameAttribute($config->get('group_name_attribute', $defaults->group_name_attribute)) ->setUserNameAttribute($config->get('user_name_attribute', $defaults->user_name_attribute)) ->setGroupMemberAttribute($config->get('group_member_attribute', $defaults->group_member_attribute)) - ->setGroupFilter($config->filter) + ->setGroupFilter($config->group_filter) ->setUserFilter($config->user_filter); }