Skip to content

Commit

Permalink
Fixed issue zammad#1347 - Group retrieval fails for objectClass 'orga…
Browse files Browse the repository at this point in the history
…nization'.
  • Loading branch information
thorsteneckel committed Aug 22, 2017
1 parent 24696c0 commit 4bd8da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldap/group.rb
Original file line number Diff line number Diff line change
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)'])
@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.
Expand Down

0 comments on commit 4bd8da9

Please sign in to comment.