summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r--ipalib/backend.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py
index 7ed378e88..0232fa536 100644
--- a/ipalib/backend.py
+++ b/ipalib/backend.py
@@ -23,6 +23,7 @@ Base classes for all backed-end plugins.
import threading
import plugable
+import os
from errors import PublicError, InternalError, CommandError
from request import context, Connection, destroy_context
@@ -106,6 +107,10 @@ class Executioner(Backend):
"""
client_ip: The IP address of the remote client.
"""
+
+ if ccache is not None:
+ os.environ["KRB5CCNAME"] = ccache
+
if self.env.in_server:
self.Backend.ldap2.connect(ccache=ccache)
else: