PR #3041 - adds groupOfNames objectClass support to LDAP client

This commit is contained in:
w1n5l0w 2020-04-27 19:36:34 +02:00 committed by Mantas
parent ab43ff94c8
commit 3d192af3d0

View file

@ -113,7 +113,7 @@ class Ldap
# #
# @return [String, nil] The active or found filter or nil if none could be found. # @return [String, nil] The active or found filter or nil if none could be found.
def filter 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 end
# The active uid attribute of the instance. If none give on initialization an automatic lookup is performed. # The active uid attribute of the instance. If none give on initialization an automatic lookup is performed.