[OP-64] T#10535 Support configuring the max number of results returned by a LDAP search Created: 03/Jul/14  Updated: 03/Oct/14  Resolved: 23/Sep/14

Status: Closed
Project: Opush
Component/s: None
Affects Version/s: 3.0.0
Fix Version/s: 3.0.2

Type: Improvement Priority: Minor
Reporter: David Dolcimascolo Assignee: Thomas HILAIRE
Resolution: Fixed Votes: 0
Labels: 201409, GN
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to OBMFULL-6112 Prepare our ldap helper to accept a m... Ready To Merge
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


 Comments   
Comment by Thomas HILAIRE [ 17/Sep/14 ]

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
Comment by Antoine DUPRAT [ 03/Oct/14 ]

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

Generated at Sun Aug 18 03:22:10 CEST 2019 using JIRA 6.1.1#6155-sha1:7188aeec9a6b57d61ea04c52f235f15f55c105e2.