[Kde-pim] KLDAP & LDAP Akonadi Resource

Szombathelyi Gy|rgy gyurco at freemail.hu
Sun Sep 19 06:15:10 BST 2010


Hi,

Matthew Leach <matthew at theleachfamily.co.uk> írta:
>Hi everyone,
>
>I finally got around to setting up my development environment a few days ago and delved into the KLDAP and LDAP Akonadi Resource code in playground. 
>
>I thought I'd share my thoughts and experiences over the past few days and ask for suggestions to problems that I encountered.
>
>I have a big LDAP server setup at work (approx 30,000 records are listed on it). So I thought it would be a good test of the resource as well as Akonadi its self (not to sure if there have been tests to that extreme yet).
>
>* The default LDAP filter for retrieving records from LDAP is (objectClass=inetOrgPerson). ie, retrieve all objects from LDAP that are of type user. This is fine for an LDAP server of 100 users or less, however when an organisation has thousands of users this could take a very long time as well as eating up resources on the client. There seems to be an option "Size Limit", however the code for this option in KLDAP is simply:
>
>bool LdapConnection::setSizeLimit( int sizelimit )
>{
>  kError() << "No LDAP support...";
>  return false;
>}
> 

> 

>This code path is where no LDAP support available on the platform, setSizeLimit is actually implemented! However I don't know if the akonadi resource can use it or not...

> 

>Br,

>György
_______________________________________________
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