Announcement

Collapse
No announcement yet.

oxldapsync - Error on search: : Sizelimit exceeded

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • oxldapsync - Error on search: : Sizelimit exceeded

    Hi OX Community,

    i'm a Beginner with openldap. It's used as central User-authentification at my Company.

    When I try to synchronize our Users from our ldap db with the command:

    Code:
    /opt/oxldapsync/sbin/oxldapsync.pl -c 1
    i get the following error:

    Code:
    Error on search:  : Sizelimit exceeded at /opt/oxldapsync/sbin/../lib/OX/LDAPConnector/ldap.pm line 71, <DATA> line 522.
    Has this error todo with the "sizelimit 1000" we use in our slapd.conf ?

    Can I use a search filter for the oxldapsync.pl as workaround ? I don't want to change the slapd.conf if I don't have to.

    Any Idea's on how to solve this Problem ?


    Greetings
    Alex

  • #2
    You're requesting more then 1000 entries from your openkdap server. Either increase that limit or use a query that does not fetch so many results.

    Comment


    • #3
      I've increased the sizelimit to 1500 in slapd.conf and run the Script again. The Error is gone, the Script is syncing some Data from LDAP, but the results are not satisfying. It only syncs some Addressbook Data, but the Problem for this is maybe because i am forced to use an unprivileged LDAP-User.

      In between I switches to IMAP-Authentication, which is much easier to implement. Maybe I use the oxldapsync Script for Addressbook Data syncronisation later.

      But for now IMAP-Auth solves the Problem for me.

      Comment


      • #4
        Thanks for your suggestion. I really appreciate that you took all this time to try and help us. Keep up the good work. Keep on taking action.

        Comment

        Working...
        X