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

This commit is contained in:
Thorsten Eckel 2018-01-09 20:08:46 +01:00
parent 7e22b9bd29
commit 23018aa603

View file

@ -80,7 +80,7 @@ class Ldap
filter ||= filter()
result = {}
@ldap.search(filter, attributes: %w[dn member memberuid]) do |entry|
@ldap.search(filter, attributes: %w[dn member memberuid uniquemember]) do |entry|
roles = mapping[entry.dn.downcase]
next if roles.blank?