diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-10-31 12:29:26 +0000 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-27 13:46:41 +0100 |
commit | 8013056194755d44105b512960951d723cc706d7 (patch) | |
tree | 7f9d34354bd1dfdaf05772bb30de44e39048a84f /ipapython | |
parent | 73df6150e52012ae427d8911fb8e31739c3379ce (diff) | |
download | freeipa-8013056194755d44105b512960951d723cc706d7.tar.gz freeipa-8013056194755d44105b512960951d723cc706d7.tar.xz freeipa-8013056194755d44105b512960951d723cc706d7.zip |
Add wrapper for result3 to IPASimpleLDAPObject.
https://fedorahosted.org/freeipa/ticket/3971
Diffstat (limited to 'ipapython')
-rw-r--r-- | ipapython/ipaldap.py | 5 |
1 files changed, 5 insertions, 0 deletions
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() |