mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add code to be able to set default kinit lifetime
This is done by setting the kinit_lifetime option in default.conf to a value that can be passed in with the -l option syntax of kinit. https://pagure.io/freeipa/issue/7001 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Pavel Vomacka <pvomacka@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -969,7 +969,8 @@ class login_password(Backend, KerberosSession):
|
||||
password,
|
||||
ccache_name,
|
||||
armor_ccache_name=armor_path,
|
||||
enterprise=True)
|
||||
enterprise=True,
|
||||
lifetime=self.api.env.kinit_lifetime)
|
||||
|
||||
if armor_path:
|
||||
self.debug('Cleanup the armor ccache')
|
||||
|
||||
Reference in New Issue
Block a user