This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 08959e0a Allow for both membership types
08959e0a is described below

commit 08959e0a237d6849231c3d9fcaf27ac65bcd304c
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 28 22:06:03 2023 +0100

    Allow for both membership types
---
 lib/whimsy/asf/ldap.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 63799ea8..565862fc 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -864,7 +864,8 @@ module ASF
     # list of LDAP services that this individual is a member of
     def services
       weakref(:services) do
-        Service.listcns("member=#{dn}")
+        Service.listcns("member=#{dn}") + 
+        Service.listcns("memberUid=#{name}")
       end
     end
 

Reply via email to