Use ticket forwarding with TurboGears. mod_proxy forwards the principal

name and location of the keytab. In order for this keytab to be usable
 TurboGears and Apache will need to run as the same user. We will also need
 to listen only on localhost in TG.
This commit is contained in:
rcritten@redhat.com committed 2007-09-14 17:19:02 -04:00
1 parent ed6ab17c9c
commit b85668579e
7 files changed
+47 -34

No files matched your search

+6
View File
@@ -47,6 +47,12 @@ class IPAClient:
if self.local:
self.transport.set_principal(princ)
def set_krbccache(self,krbccache):
"""Set the file location of the Kerberos credentials cache to be used
for LDAP authentication"""
if self.local:
self.transport.set_krbccache(krbccache)
# User support
def get_user_by_uid(self,uid,sattrs=None):
"""Get a specific user by uid. If sattrs is set then only those