X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/01e69265114c821dfc329273a79adec6b5d1575f..eb558ecccf88e5606ecb3f961b624dd33c4a1faf:/code/getafsgroups.py diff --git a/code/getafsgroups.py b/code/getafsgroups.py index 13f8cf7..a35a4f1 100644 --- a/code/getafsgroups.py +++ b/code/getafsgroups.py @@ -28,7 +28,7 @@ class AfsProcessError(Exception): pass def getAfsGroupMembers(group, cell): - p = subprocess.Popen(["pts", "membership", "-noauth", group, '-c', cell], + p = subprocess.Popen(["pts", "membership", "-encrypt", group, '-c', cell], stdout=subprocess.PIPE, stderr=subprocess.PIPE) err = p.stderr.read() if err: #Error code doesn't reveal missing groups, but stderr does