From 6215661726d92ef1419dfbe0ae312d6956cbe0d8 Mon Sep 17 00:00:00 2001
From: Brian Moe <brian.moe@ligo.org>
Date: Fri, 28 Jun 2013 09:31:03 -0500
Subject: [PATCH] Changed LDAP group that governs "active" flag.

---
 ligoauth/management/commands/refresh_users_from_ldap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ligoauth/management/commands/refresh_users_from_ldap.py b/ligoauth/management/commands/refresh_users_from_ldap.py
index 4799e23ad..476c46b3d 100644
--- a/ligoauth/management/commands/refresh_users_from_ldap.py
+++ b/ligoauth/management/commands/refresh_users_from_ldap.py
@@ -34,7 +34,7 @@ class Command(NoArgsCommand):
                         last_name = unicode(ldap_result['sn'][0], 'utf-8')
                         email = ldap_result['mail'][0]
                         new_dns = set(ldap_result.get('gridX509subject',[]))
-                        is_active = "Communities:LVC:LVCGroupMembers" \
+                        is_active = "Communities:LSCVirgoLIGOGroupMembers" \
                                     in ldap_result.get('isMemberOf',[])
                         principal = ldap_result['krbPrincipalName'][0]
 
-- 
GitLab