projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix pts mem vulnerability, with new -encrypt option
[invirt/packages/invirt-web.git]
/
code
/
getafsgroups.py
diff --git
a/code/getafsgroups.py
b/code/getafsgroups.py
index
13f8cf7
..
a35a4f1
100644
(file)
--- a/
code/getafsgroups.py
+++ b/
code/getafsgroups.py
@@
-28,7
+28,7
@@
class AfsProcessError(Exception):
pass
def getAfsGroupMembers(group, cell):
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
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
err = p.stderr.read()
if err: #Error code doesn't reveal missing groups, but stderr does