'Execute async request.
Only msgid param is supported. Request info is fetched from global
variable `PendingRequests` by msgid, executed using search_s and
limited if requested.'

def result3(self, msgid=ldap.RES_ANY, all=1, timeout=None, resp_ctrl_classes=None):

    if ((all != 1) or (timeout is not None) or (resp_ctrl_classes is not None)):
        raise exception.NotImplemented()
    params = PendingRequests[msgid]
    results = self.search_s(*params[:5])
    serverctrls = params[5]
    ctrl = serverctrls[0]
    if ctrl.size:
        rdata = results[:ctrl.size]
    else:
        rdata = results
    rtype = None
    rmsgid = None
    serverctrls = None
    return (rtype, rdata, rmsgid, serverctrls)
