projects
/
invirt/packages/invirt-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d124ca8
)
Take advantage of the newly added symbolic names for PTS connection
author
Evan Broder
<broder@mit.edu>
Sun, 29 Nov 2009 13:48:47 +0000
(08:48 -0500)
committer
Evan Broder
<broder@mit.edu>
Sun, 29 Nov 2009 13:48:47 +0000
(08:48 -0500)
encryption levels.
svn path=/trunk/packages/invirt-base/; revision=2572
python/invirt/authz/locker.py
patch
|
blob
|
history
diff --git
a/python/invirt/authz/locker.py
b/python/invirt/authz/locker.py
index
cf33d5e
..
7982f8d
100644
(file)
--- a/
python/invirt/authz/locker.py
+++ b/
python/invirt/authz/locker.py
@@
-110,7
+110,8
@@
def _expandGroup(name, cell=None, auth=False):
to retrieve its membership, we assume it's empty.
"""
try:
- ent = pts.PTS(cell, 3 if auth else 0).getEntry(name)
+ ent = pts.PTS(cell, pts.PTS_ENCRYPT if auth else pts.PTS_UNAUTH).\
+ getEntry(name)
if ent.id > 0:
return set([ent.name])
else: