From 3d192af3d0ffc4b750c37e67b250974ab218f4ab Mon Sep 17 00:00:00 2001 From: w1n5l0w <40407180+w1n5l0w@users.noreply.github.com> Date: Mon, 27 Apr 2020 19:36:34 +0200 Subject: [PATCH] PR #3041 - adds groupOfNames objectClass support to LDAP client --- lib/ldap/group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldap/group.rb b/lib/ldap/group.rb index 046c5e57a..70dd45dbc 100644 --- a/lib/ldap/group.rb +++ b/lib/ldap/group.rb @@ -113,7 +113,7 @@ class Ldap # # @return [String, nil] The active or found filter or nil if none could be found. def filter - @filter ||= lookup_filter(['(objectClass=groupOfUniqueNames)', '(objectClass=group)', '(objectClass=posixgroup)', '(objectClass=organization)']) + @filter ||= lookup_filter(['(objectClass=groupOfUniqueNames)', '(objectClass=groupOfNames)', '(objectClass=group)', '(objectClass=posixgroup)', '(objectClass=organization)']) end # The active uid attribute of the instance. If none give on initialization an automatic lookup is performed.