Add wrapper for result3 to IPASimpleLDAPObject.

https://fedorahosted.org/freeipa/ticket/3971
This commit is contained in:
Jan Cholasta authored and Petr Viktorin committed 2013-11-27 13:46:41 +01:00
1 parent 73df6150e5
commit 8013056194
1 file changed
+5
+5
View File
@@ -529,6 +529,11 @@ class IPASimpleLDAPObject(object):
resp_data = self.convert_result(resp_data)
return resp_type, resp_data
def result3(self, msgid=ldap.RES_ANY, all=1, timeout=None):
rtype, rdata, rmsgid, rctrls = self.conn.result3(msgid, all, timeout)
rdata = self.convert_result(rdata)
return rtype, rdata, rmsgid, rctrls
def sasl_interactive_bind_s(self, who, auth, serverctrls=None,
clientctrls=None, sasl_flags=ldap.SASL_QUIET):
self.flush_cached_schema()