diff options
author | Pavel Zuna <pzuna@redhat.com> | 2011-02-07 10:10:12 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-10 11:16:57 -0500 |
commit | ab7e70248763ae176f8ea419df6d8b1c4c2eb1d6 (patch) | |
tree | ba0cd4b8e5b4dadd1c294961b20dc1c53ad4eb39 /ipalib | |
parent | a247c3f30a8296d387bf471691541bcee7ea7403 (diff) | |
download | freeipa-ab7e70248763ae176f8ea419df6d8b1c4c2eb1d6.tar.gz freeipa-ab7e70248763ae176f8ea419df6d8b1c4c2eb1d6.tar.xz freeipa-ab7e70248763ae176f8ea419df6d8b1c4c2eb1d6.zip |
Set minimum for Kerberos policy max life and max renew.
Fix #847
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/krbtpolicy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/krbtpolicy.py b/ipalib/plugins/krbtpolicy.py index aba51470f..d16cb367e 100644 --- a/ipalib/plugins/krbtpolicy.py +++ b/ipalib/plugins/krbtpolicy.py @@ -69,11 +69,13 @@ class krbtpolicy(LDAPObject): cli_name='maxlife', label=_('Max life'), doc=_('Maximum ticket life (seconds)'), + minvalue=1, ), Int('krbmaxrenewableage?', cli_name='maxrenew', label=_('Max renew'), doc=_('Maximum renewable age (seconds)'), + minvalue=1, ), ) |