kabc silenty completes after the 1000 record limit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE PIM |
Invalid
|
Medium
|
|||
kdepim (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
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.
Changed in kdepim: | |
status: | Unknown → Unconfirmed |
Changed in kdepim: | |
status: | New → Invalid |
Changed in kdepim: | |
importance: | Unknown → Medium |
This workaround fetches all contact details from the exchange server.