diff --git a/ligoauth/management/commands/refresh_users_from_ldap.py b/ligoauth/management/commands/refresh_users_from_ldap.py index 4799e23ada036536a1f353dcdce7158ee46b90ff..476c46b3da00e4555c2f3ed96ec7f1d6d3982a4b 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]