[Bug 97346] kabc silenty completes after the 1000 record limit

Ritesh Raj Sarraf rrs at researchut.com
Wed Mar 28 10:24:15 UTC 2007


Public bug reported:

Binary package hint: kaddressbook

Hi,

I'm not sure if people have come across this problem.

If you're using Kontact as your PIM Application and KAB as your Address Book 
application, you can configure your address book to contact the exchange 
(ldap) server to get all the address records.

The problem is that either ldapsearch or exchange has put a restriction of max 
1000 records per query. (You can verify that with the ldapsearch command. 
It'll terminate after receiving 1000 records).

I think kabc's ldap code also inherits the same bug and is only able to fetch 
1000 records, after which it silently keeps quiet (It should rather have 
popped up an error message). Or else have a workaround in place to fetch all the records bypassing this limit

I'm attaching a workaround (in Python) which fetches all the records.

But there still is a problem. With the workaround in place, I end up with 9000 records. This should be a normal case in any huge organization. But when typing the contact in the "To:" box of Kmail's composer, it ends up being very slow because of the large number of records.
Kmail should be able to efficiently filter the contact (as typed) from the large number of records.

** Affects: kdepim (upstream)
     Importance: Unknown
         Status: Unknown
** Affects: kdepim (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Bug watch added: KDE Bug Tracking System #143207
   http://bugs.kde.org/show_bug.cgi?id=143207

** Also affects: kdepim (upstream) via
   http://bugs.kde.org/show_bug.cgi?id=143207
   Importance: Unknown
       Status: Unknown

-- 
kabc silenty completes after the 1000 record limit
https://launchpad.net/bugs/97346




More information about the kubuntu-bugs mailing list