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

          Hide
          Thomas HILAIRE added a comment -

          QA: verify the expected behavior, play with different values in the ldap config and the opush's ldap limit to check that there is no more exception
          Impacts:

          • (few impact) users research when devices want "users/contacts" autocompletion
          • (higher impact) OBM dependencies have been updated, the global opush behavior can be impacted
          Show
          Thomas HILAIRE added a comment - QA : verify the expected behavior, play with different values in the ldap config and the opush's ldap limit to check that there is no more exception Impacts : (few impact) users research when devices want "users/contacts" autocompletion (higher impact) OBM dependencies have been updated, the global opush behavior can be impacted
          Hide
          Antoine DUPRAT added a comment -

          OK with version 3.0.2~beta2~git20141003.123458.7d754f8-1
          Tested on Debian Wheezy 3.2.46-1+deb7u1

          Show
          Antoine DUPRAT added a comment - OK with version 3.0.2~beta2~git20141003.123458.7d754f8-1 Tested on Debian Wheezy 3.2.46-1+deb7u1

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Agile