On 12/14/2016 10:05 PM, Real, Elizabeth (392K) wrote:
However, we noticed that while on the ldap client and as a regular user we type “w” to see who is logged on this machine, it takes a while before we get a response with the results. If we type “w” again the response is very fast due to caching. [..] In looking at ways to improve performance of ldap, is slapindex a tool to use?
I'm not sure whether changing indexing configuration is the right way to really improve things. Hint: Adding indexes can make search performance worse.
So you should first carefully analyzes which LDAP search queries are sent to the LDAP server.
You also did not provide any information about the LDAP-enabled NSS client used and its configuration (which is better discussed on the mailing list of that software though).
Ciao, Michael.