From f7a4cceb97f829ad2e1f8853c0e4414dcebf731e Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 30 Jan 2013 04:32:24 -0500 Subject: Remove IPAdmin.simple_bind_s Part of the work for: https://fedorahosted.org/freeipa/ticket/2660 --- ipaserver/ipaldap.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ipaserver/ipaldap.py') 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) -- cgit