summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-10-31 12:29:26 +0000
committerPetr Viktorin <pviktori@redhat.com>2013-11-27 13:46:41 +0100
commit8013056194755d44105b512960951d723cc706d7 (patch)
tree7f9d34354bd1dfdaf05772bb30de44e39048a84f
parent73df6150e52012ae427d8911fb8e31739c3379ce (diff)
downloadfreeipa-8013056194755d44105b512960951d723cc706d7.tar.gz
freeipa-8013056194755d44105b512960951d723cc706d7.tar.xz
freeipa-8013056194755d44105b512960951d723cc706d7.zip
Add wrapper for result3 to IPASimpleLDAPObject.
https://fedorahosted.org/freeipa/ticket/3971
-rw-r--r--ipapython/ipaldap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py
index 002546e9..83daa6a7 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()