Changeset 213 for trunk/LocationDo/action.py
- Timestamp:
- 01/31/06 09:30:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocationDo/action.py
r212 r213 9 9 10 10 def ensureKerberosPrincipalsValid(principals): 11 # XXX still doesn't play well with the automatic ticket renewal the Kerberos app does12 11 kerberosApp = app(id='edu.mit.Kerberos.KerberosApp') 13 validPrincipals = kerberosApp.caches.filter((its.time_remaining.startswith('Expired')).NOT).principal.get() 12 validPrincipals = kerberosApp.caches.filter( \ 13 (its.time_remaining.startswith('Expired').NOT) \ 14 .AND(its.time_remaining.startswith('Not Valid').NOT)) \ 15 .principal.get() 14 16 for principal in principals: 15 17 if principal not in validPrincipals:
Note:
See TracChangeset
for help on using the changeset viewer.