Fixes issue #1664 - Missing support for groupOfUniqueNames / uniquemember in LDAP sync.

This commit is contained in:
Thorsten Eckel 2018-01-09 12:45:50 +01:00
parent 66988facc1
commit 8272ae2bb5

View file

@ -112,7 +112,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=group)', '(objectClass=posixgroup)', '(objectClass=organization)']) @filter ||= lookup_filter(['(objectClass=groupOfUniqueNames)', '(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.