encode_page_control() must have a 2nd argument T5734

Authored by dhoffend on Sun, Dec 22, 9:53 PM.



As reported in T5734 kolab sync and kolabd are crashing
with a trackback that encode_page_control must have 2 arguments. Adding
the empty cookie attribute to the server_page_controls removed the error.

Diff Detail

rP pykolab
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dhoffend requested review of this revision.Sun, Dec 22, 9:53 PM
dhoffend created this revision.
dhoffend updated this revision to Diff 2044.Mon, Dec 23, 6:30 PM
  • fix check for page control result

Hope this is correct from the documentation and examples about ldap paging search

vanmeeuwen accepted this revision.Mon, Jan 13, 2:06 PM
This revision is now accepted and ready to land.Mon, Jan 13, 2:06 PM
This revision was automatically updated to reflect the committed changes.