mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-05 18:56:53 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user