From: Evan Broder Date: Tue, 8 Dec 2009 02:33:43 +0000 (-0500) Subject: Store AFS cell configuration at authz.afs.cells instead of just X-Git-Tag: 0.2.2^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/b0c9926b94837e5d1b8fd615d21098f25f0582f7 Store AFS cell configuration at authz.afs.cells instead of just authz.cells, to be more clear about purpose. svn path=/trunk/packages/invirt-database/; revision=2590 --- diff --git a/python/database/validate.py b/python/database/validate.py index af964ef..4187e42 100644 --- a/python/database/validate.py +++ b/python/database/validate.py @@ -240,7 +240,7 @@ def testAdmin(user, admin, machine): return admin admin = 'system:' + admin try: - if user in getafsgroups.getAfsGroupMembers(admin, config.authz.cells[0].cell): + if user in getafsgroups.getAfsGroupMembers(admin, config.authz.afs.cells[0].cell): return admin except getafsgroups.AfsProcessError, e: errmsg = str(e)