mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
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:
parent
65b9c027f6
commit
bd8712ad36
1 changed files with 4 additions and 0 deletions
|
|
@ -1594,6 +1594,10 @@ parse_page_control(
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if ( servercookie.bv_len == 0 ) {
|
||||
morePagedResults = 0;
|
||||
}
|
||||
|
||||
ldap_controls_free( ctrl );
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue