Fixed issue #1347 - Group retrieval fails for objectClass 'organization'.

This commit is contained in:
Thorsten Eckel 2017-08-22 09:23:45 +02:00
parent 24696c00ee
commit 4bd8da957f

View file

@ -112,7 +112,7 @@ class Ldap
#
# @return [String, nil] The active or found filter or nil if none could be found.
def filter
@filter ||= lookup_filter(['(objectClass=group)', '(objectClass=posixgroup)'])
@filter ||= lookup_filter(['(objectClass=group)', '(objectClass=posixgroup)', '(objectClass=organization)'])
end
# The active uid attribute of the instance. If none give on initialization an automatic lookup is performed.