I am using openLDAP on a CENTOS server.
To test I use JMETER with LDAP query and my software using thoses entry.
I want to optimize a particular request, I heavily search an OU attribute : description. The search use the l attribute to find it :search filter l=username.
If my index (in slapd.conf)is :
index ou,description,l eq,pres,sub
Jmeter does not return the description field and my software does not allow me to log anymore.
If I remove this line from slapd.conf or if I use : `index ou,description eq,pres,sub i have the same average response time.
How can I optimize my perfs?
Why indexing l remove the attribute i want from the answer, and make my software unable to use my directory anymore?