From 23018aa603d45e810fa32391c96e207225459cec Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 9 Jan 2018 20:08:46 +0100 Subject: [PATCH] Follow up: Fixes issue #1664 - Missing support for groupOfUniqueNames / uniquemember in LDAP sync. --- lib/ldap/group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?