diff --git a/lib/ldap/group.rb b/lib/ldap/group.rb index 545ac9d29..253a7417c 100644 --- a/lib/ldap/group.rb +++ b/lib/ldap/group.rb @@ -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?