summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/ipaldap.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-10-08 16:18:38 -0400
committerRob Crittenden <rcritten@redhat.com>2007-10-08 16:18:38 -0400
commiteddc5d4e42796888c3179df36aa6967c573136ab (patch)
tree9894c2eb4596b03d707981e258798703da5d0c1f /ipa-server/ipaserver/ipaldap.py
parent60ce1db5815804fa698b894fb661dc4141d8f72d (diff)
downloadfreeipa-eddc5d4e42796888c3179df36aa6967c573136ab.tar.gz
freeipa-eddc5d4e42796888c3179df36aa6967c573136ab.tar.xz
freeipa-eddc5d4e42796888c3179df36aa6967c573136ab.zip
New LDAP connection pool that does locking
Diffstat (limited to 'ipa-server/ipaserver/ipaldap.py')
-rw-r--r--ipa-server/ipaserver/ipaldap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/ipaldap.py b/ipa-server/ipaserver/ipaldap.py
index b05201cb..af983d72 100644
--- a/ipa-server/ipaserver/ipaldap.py
+++ b/ipa-server/ipaserver/ipaldap.py
@@ -265,10 +265,11 @@ class IPAdmin(SimpleLDAPObject):
def set_proxydn(self, proxydn):
self.proxydn = proxydn
- def set_krbccache(self, krbccache):
+ def set_krbccache(self, krbccache, principal):
if krbccache is not None:
os.environ["KRB5CCNAME"] = krbccache
self.sasl_interactive_bind_s("", sasl_auth)
+ self.principal = principal
self.proxydn = None
def getEntry(self,*args):