Fix for RFC 2696 compliance - avoids infinite loop when talking to

Active Directory (which returns no cookie but size in the last
paged results - this is permitted).
This commit is contained in:
Luke Howard 2004-02-27 08:16:36 +00:00
parent 65b9c027f6
commit bd8712ad36

View File

@ -1594,6 +1594,10 @@ parse_page_control(
return EXIT_FAILURE;
}
if ( servercookie.bv_len == 0 ) {
morePagedResults = 0;
}
ldap_controls_free( ctrl );
} else {