summaryrefslogtreecommitdiffstats
path: root/ipaserver/ipaldap.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-30 04:32:24 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:46 +0100
commitf7a4cceb97f829ad2e1f8853c0e4414dcebf731e (patch)
tree8dde9241791e65990052b17882c5f429c6732e07 /ipaserver/ipaldap.py
parent1ee66ffe03a0616c65215bc751a7ef6e674780ef (diff)
downloadfreeipa.git-f7a4cceb97f829ad2e1f8853c0e4414dcebf731e.tar.gz
freeipa.git-f7a4cceb97f829ad2e1f8853c0e4414dcebf731e.tar.xz
freeipa.git-f7a4cceb97f829ad2e1f8853c0e4414dcebf731e.zip
Remove IPAdmin.simple_bind_s
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
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)