summaryrefslogtreecommitdiffstats
path: root/ipaserver/ipaldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/ipaldap.py')
-rw-r--r--ipaserver/ipaldap.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ipaserver/ipaldap.py b/ipaserver/ipaldap.py
index 7010ee5e..e8a16406 100644
--- a/ipaserver/ipaldap.py
+++ b/ipaserver/ipaldap.py
@@ -1613,7 +1613,7 @@ class IPAdmin(LDAPClient):
def do_simple_bind(self, binddn=DN(('cn', 'directory manager')), bindpw="",
timeout=DEFAULT_TIMEOUT):
- self.__bind_with_wait(self.simple_bind_s, timeout, binddn, bindpw)
+ self.__bind_with_wait(self.conn.simple_bind_s, timeout, binddn, bindpw)
def do_sasl_gssapi_bind(self, timeout=DEFAULT_TIMEOUT):
self.__bind_with_wait(
@@ -1716,10 +1716,6 @@ class IPAdmin(LDAPClient):
# FIXME: for backwards compatibility only
return self.conn.encode(*args, **kwargs)
- def simple_bind_s(self, *args, **kwargs):
- # FIXME: for backwards compatibility only
- return self.conn.simple_bind_s(*args, **kwargs)
-
def unbind(self, *args, **kwargs):
# FIXME: for backwards compatibility only
return self.conn.unbind(*args, **kwargs)