Skip to content
Snippets Groups Projects
Commit bd8712ad authored by Luke Howard's avatar Luke Howard
Browse files

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).
parent 65b9c027
No related branches found
No related tags found
No related merge requests found
......@@ -1594,6 +1594,10 @@ parse_page_control(
return EXIT_FAILURE;
}
if ( servercookie.bv_len == 0 ) {
morePagedResults = 0;
}
ldap_controls_free( ctrl );
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment