Ignore:
Timestamp:
01/31/06 09:30:28 (19 years ago)
Author:
Nicholas Riley
Message:

LocationDo.py: Another place in Siebel.

action.py: ensureKerberosPrincipalsValid now understands both
"Expired" and "Not Valid" as requiring renewal. I bet these get
localized, too...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocationDo/action.py

    r212 r213  
    99
    1010def ensureKerberosPrincipalsValid(principals):
    11     # XXX still doesn't play well with the automatic ticket renewal the Kerberos app does
    1211    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()
    1416    for principal in principals:
    1517        if principal not in validPrincipals:
Note: See TracChangeset for help on using the changeset viewer.