[Kde-pim] Review Request: Change to the ldap library to allow paging of search results
eaton.mark at gmail.com
eaton.mark at gmail.com
Fri Nov 20 21:37:10 GMT 2009
> On 2009-11-20 10:54:04, Kevin Krammer wrote:
> > Looks good to me, though we better wait for feedback from people who actually know about LDAP and/or have comparable datasets to test with.
> >
> > In the meantime it would be great if you could create a forward port ot trunk
The patch should apply cleanly to head since the only changes applied to the kldap library in the last 18 months have been formatting changes
- marke
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2212/#review3178
-----------------------------------------------------------
On 2009-11-19 11:16:44, marke wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2212/
> -----------------------------------------------------------
>
> (Updated 2009-11-19 11:16:44)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> If a search will return a large number of results paging of the results is desirable and for some server configurations necessary.
> This patch allows paging of results to work with the kldap library.
> It does this by
> 1. preventing duplicate paging controls from being added. This was causing the server to reject the search as invalid.
> 2. disabling automatic following of references from the server. When references are followed the paging response is never processed.
> 3. Ignoring the reference messages the server sends since the library errors when it receives one.
>
> Potentially an additional signal/slot could be added to handle references but I can't see a usecase for this so I haven't implemented
> it here.
>
>
> This addresses bug 215190.
> https://bugs.kde.org/show_bug.cgi?id=215190
>
>
> Diffs
> -----
>
> /branches/KDE/4.3/kdepimlibs/kldap/ldapcontrol.h 1051265
> /branches/KDE/4.3/kdepimlibs/kldap/ldapcontrol.cpp 1051265
> /branches/KDE/4.3/kdepimlibs/kldap/ldapoperation.cpp 1051265
> /branches/KDE/4.3/kdepimlibs/kldap/ldapsearch.cpp 1051265
>
> Diff: http://reviewboard.kde.org/r/2212/diff
>
>
> Testing
> -------
>
> I have been testing this against the company Active Directory server with the akonadi agent I'm developing and it handles the ~70,000 contacts correctly with the patch. Without the patch
> AD will only return 1000 results (this is the AD default setup).
>
>
> Thanks,
>
> marke
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list