[Bug 274008] New: Kaddressbook causes a "Size limit exceeded" on server by not support ing the paging extension

Stephan Diestelhorst stephan.diestelhorst at gmail.com
Tue May 24 05:33:38 BST 2011


https://bugs.kde.org/show_bug.cgi?id=274008

           Summary: Kaddressbook causes a "Size limit exceeded" on server
                    by not support ing the paging extension
           Product: kaddressbook
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: ldap search
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: stephan.diestelhorst at gmail.com
                CC: tokoe at kde.org


Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

It seems that my company's LDAP server has a limit smaller than the number of
employees (> 1000). While setting the limit field in the query pane is fine,
the server still sends an error if the number of results exceeds that limit.

What the actual fix should be is using the simple paging extension as described
in RFC 2696. 

With the command line tool ldapsearch the following parameters work:

  ldapsearch -LLL -h <server> -x -W -D <user> -b <base> "(objectClass=user)" cn
objectClass -E pr=100

prints several results and then

  Press [size] Enter for the next {100|size} entries.

Which returns the next 100 entries.
With nromal limiting like this

  ldapsearch -LLL -h <server> -x -W -D <user> -b <base> "(objectClass=user)" cn
objectClass -E pr=100

I get:

  Size limit exceeded (4)

Together with bug 274007, this is quite annoying.

Reproducible: Always

Steps to Reproduce:
Query an LDAP server that has more entries than either the configured or
specified size limit.

Actual Results:  
Kaddressbook does not create an address book due to the server error message. 

Expected Results:  
Kaddressbook should use the paging extension and query the huge address book
page by page, as to not exceed the size limitation.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list