Opush
  1. Opush
  2. OP-64

T#10535 Support configuring the max number of results returned by a LDAP search

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.2
    • Labels:
    • Story Points:
      3.5
    • Rank:
      6292
    • Sprint:
      Sprint

      Description

      We should allow limiting by configuration the number fo results returned by opush via an LDAP search.

      Reproduction steps:

      • have 5 users: usera, userb, userc, userd, usere
      • edit your ldap limit: in /etc/ldap/slapd.conf set the "sizelimit" to 3
      • with a device, begin to write an email and start typing "user" in the "To"
      • a "search" command is performed against opush

      Current behavior:

      • opush reply well to the device but an exception is printed is the opush.log file KO

      Expeced behavior:

      • opush reply well to the device and no exception is printed is the opush.log file KO
      • in /etc/opush/ldap_conf.ini, set search.ldap.limit=2: only two items should be replied by opush

        Issue Links

          Activity

            People

            • Assignee:
              Thomas HILAIRE
              Reporter:
              David Dolcimascolo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile