[Samba] Slow ldap membership query in large active directory

Marco Gaiarin gaio at lilliput.linux.it
Mon Feb 5 13:41:01 UTC 2024


Mandi! Sören Busse via samba
  In chel di` si favelave...

> We noticed that the query to get all the gidNumbers of the courses the 
> user is a member of takes about 370ms, while a simple query takes 47ms 
> (including bind/unbind). See the test results below.

While not measuring it, i feel same result here.

You speak about 'gidNumber', so i suppose you are using RFC2307.


I don't know if it is correlated (but i feel it...) also offline caching
does not work in RFC2307 mode:

	https://bugzilla.samba.org/show_bug.cgi?id=15405


So i can only suppose there's plently room for optimization in RFC2307...

-- 
  Quante persone che non contano, e invece contano
  e si stanno contando gia`
  Stanno solo aspettando un segno, Capata`z		(F. De Gregori)





More information about the samba mailing list