Re: Review D38047 ... and then there was one....

From: Marek Zarychta <zarychtam_at_plan-b.pwste.edu.pl>
Date: Mon, 07 Oct 2024 15:33:51 UTC
W dniu 7.10.2024 o 07:05, David Cross pisze:

> How many entries are in your ldap structure?  I can attempt a replication here

Hello David,

I will rather not expose it publicly. Whole LDAP directory contains few 
thousand entries - and it was was used for the tests mentioned in this 
thread.

With the filters applied I see below 1k entries, and then lookup with 
nsdc running takes: first lookup 0.16s, next lookups 0.09s, while 
without nscd it varies from 0.12 to 0.08 - so nscd performs OK.

I have your patch applied and I am still testing it with 
net/nss-pam-ldapd from ports with patch for login classes applied (it's 
present in port but not enabled by default). So far it works without issues.

-- 
Marek Zarychta