From: Howard Chu Date: Sat, 24 Jan 2009 07:18:35 +0000 (+0000) Subject: ITS#5896 don't return immediately on Intermediate responses X-Git-Tag: ACLCHECK_0~967 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=988fb232d2d3bf431a768edf63d1555284c95ec8;p=openldap ITS#5896 don't return immediately on Intermediate responses --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index cc0fc00d09..10ca5b7d3c 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -1127,7 +1127,8 @@ nextresp2: if ( msgid == LDAP_RES_ANY || id == msgid ) { if ( all == LDAP_MSG_ONE || ( newmsg->lm_msgtype != LDAP_RES_SEARCH_RESULT - && newmsg->lm_msgtype != LDAP_RES_SEARCH_ENTRY + && newmsg->lm_msgtype != LDAP_RES_SEARCH_ENTRY + && newmsg->lm_msgtype != LDAP_RES_INTERMEDIATE && newmsg->lm_msgtype != LDAP_RES_SEARCH_REFERENCE ) ) { *result = newmsg;