summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorTomas Krizek <tkrizek@redhat.com>2016-11-08 12:16:09 +0100
committerMartin Basti <mbasti@redhat.com>2016-11-10 17:40:49 +0100
commita68c95d11612108375877ff45bdb53ce6fc8fbe4 (patch)
tree6d1405a49a8cc4264186063ffaa088e3494ed0e8 /install/tools
parent808b1436b4158cb6f926ac2b5bd0979df6ea7e9f (diff)
downloadfreeipa-a68c95d11612108375877ff45bdb53ce6fc8fbe4.tar.gz
freeipa-a68c95d11612108375877ff45bdb53ce6fc8fbe4.tar.xz
freeipa-a68c95d11612108375877ff45bdb53ce6fc8fbe4.zip
ipaldap: remove do_bind from LDAPClient
Remove do_bind() method that was a relict used in IPAdmin. Replace its uses with simple / external binds. https://fedorahosted.org/freeipa/ticket/6461 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-httpd-kdcproxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-httpd-kdcproxy b/install/tools/ipa-httpd-kdcproxy
index 20674c26c..329565c2b 100755
--- a/install/tools/ipa-httpd-kdcproxy
+++ b/install/tools/ipa-httpd-kdcproxy
@@ -79,7 +79,7 @@ class KDCProxyConfig(object):
self.log.debug('ldap_uri: %s', self.ldap_uri)
try:
self.con = LDAPClient(self.ldap_uri)
- self.con.do_bind()
+ self.con.external_bind()
except (errors.NetworkError, socket.timeout) as e:
msg = 'Unable to connect to dirsrv: %s' % e
raise CheckError(msg)