483b06
From 6c4d53f843575d5e69a0c310cdb2e5026751faa4 Mon Sep 17 00:00:00 2001
483b06
From: Simo Sorce <simo@redhat.com>
483b06
Date: Mon, 6 Mar 2017 13:46:44 -0500
483b06
Subject: [PATCH] Add options to allow ticket caching
483b06
483b06
This new option (planned to land in gssproxy 0.7) we cache the ldap
483b06
ticket properly and avoid a ticket lookup to the KDC on each and every
483b06
ldap connection. (Also requires krb5 libs 1.15.1 to benefit from caching).
483b06
483b06
Ticket: https://pagure.io/freeipa/issue/6771
483b06
483b06
Signed-off-by: Simo Sorce <simo@redhat.com>
483b06
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
483b06
---
483b06
 install/share/gssproxy.conf.template | 2 ++
483b06
 1 file changed, 2 insertions(+)
483b06
483b06
diff --git a/install/share/gssproxy.conf.template b/install/share/gssproxy.conf.template
483b06
index fbb158a689a430168ea9841d59cb558755371968..9d111009f5a5ba24dd474be336bf0cb27ab59aab 100644
483b06
--- a/install/share/gssproxy.conf.template
483b06
+++ b/install/share/gssproxy.conf.template
483b06
@@ -4,6 +4,7 @@
483b06
   cred_store = keytab:$HTTP_KEYTAB
483b06
   cred_store = client_keytab:$HTTP_KEYTAB
483b06
   allow_protocol_transition = true
483b06
+  allow_client_ccache_sync = true
483b06
   cred_usage = both
483b06
   euid = $HTTPD_USER
483b06
 
483b06
@@ -12,5 +13,6 @@
483b06
   cred_store = keytab:$HTTP_KEYTAB
483b06
   cred_store = client_keytab:$HTTP_KEYTAB
483b06
   allow_constrained_delegation = true
483b06
+  allow_client_ccache_sync = true
483b06
   cred_usage = initiate
483b06
   euid = $IPAAPI_USER
483b06
-- 
483b06
2.12.0
483b06