X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/d7764c68cddf71645439f295c31532e528231051..eb558ecccf88e5606ecb3f961b624dd33c4a1faf:/code/getafsgroups.py?ds=sidebyside 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