From 334a0cdcdc16ac50de2be1f751262bd87d0e5e86 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 30 Jan 2013 06:46:48 -0500 Subject: Remove IPAdmin.unbind_s(), keep unbind() The unbind and unbind_s functions do the same thing (both are synchronous). In the low-level IPASimpleLDAPObject, unbind_s rather than unbind is kept. Part of the work for: https://fedorahosted.org/freeipa/ticket/2660 --- ipaserver/plugins/ldap2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver/plugins/ldap2.py') diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 619e9a07..295eddd7 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -347,7 +347,7 @@ class ldap2(LDAPClient, CrudBackend): conn = IPASimpleLDAPObject( self.ldap_uri, force_schema_updates=False) conn.simple_bind_s(dn, old_pass) - conn.unbind() + conn.unbind_s() with self.error_handler(): self.conn.passwd_s(dn, old_pass, new_pass) -- cgit