Add wrapper for result3 to IPASimpleLDAPObject.

https://fedorahosted.org/freeipa/ticket/3971
This commit is contained in:
Jan Cholasta
2013-10-31 12:29:26 +00:00
committed by Petr Viktorin
parent 73df6150e5
commit 8013056194

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()