default life/renewlife time to KDC policy
Instead of imposing a default 10 hour ticket lifetime and 1 month renew lifetime when requesting tickets, increase the default lifetime and renew lifetime to 2147483647 seconds. This ensures that in the absence of any other configuration or command line parameters that the KDC will determine the ticket lifetime and renew lifetime. Change-Id: I52b6eeac1ee830a9bf4d0130e8f4ec7b70bc8694 Signed-off-by: Nicolas Williams <nico@twosigma.com>
This commit is contained in:

committed by
Nicolas Williams

parent
616aaf95a8
commit
a013e93e95
@@ -553,7 +553,7 @@ get_new_tickets(krb5_context context,
|
||||
addrs_flag ? FALSE : TRUE);
|
||||
|
||||
if (renew_life == NULL && renewable_flag)
|
||||
renewstr = "1 month";
|
||||
renewstr = "2147483647s";
|
||||
if (renew_life)
|
||||
renewstr = renew_life;
|
||||
if (renewstr) {
|
||||
|
Reference in New Issue
Block a user