Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes issue #1664 - Missing support for groupOfUniqueNames / uniqueme…
…mber in LDAP sync.
  • Loading branch information
thorsteneckel committed Jan 9, 2018
1 parent 66988fa commit 8272ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldap/group.rb
Expand Up @@ -112,7 +112,7 @@ def user_roles(mapping, filter: nil)
#
# @return [String, nil] The active or found filter or nil if none could be found.
def filter
@filter ||= lookup_filter(['(objectClass=group)', '(objectClass=posixgroup)', '(objectClass=organization)'])
@filter ||= lookup_filter(['(objectClass=groupOfUniqueNames)', '(objectClass=group)', '(objectClass=posixgroup)', '(objectClass=organization)'])
end

# The active uid attribute of the instance. If none give on initialization an automatic lookup is performed.
Expand Down

0 comments on commit 8272ae2

Please sign in to comment.