From 8013056194755d44105b512960951d723cc706d7 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 31 Oct 2013 12:29:26 +0000 Subject: Add wrapper for result3 to IPASimpleLDAPObject. https://fedorahosted.org/freeipa/ticket/3971 --- ipapython/ipaldap.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipapython/ipaldap.py') diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index 002546e97..83daa6a7a 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -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() -- cgit