CVS update: samba/source/nsswitch

vlendec at samba.org vlendec at samba.org
Thu Jan 1 20:30:50 GMT 2004


Date:	Thu Jan  1 20:30:50 2004
Author:	vlendec

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv20422/nsswitch

Modified Files:
      Tag: SAMBA_3_0
	winbindd_ads.c 
Log Message:
Fix for bug 707, getent group for huge ads groups (>1500 members)
This introduces range retrieval of ADS attributes.

I've rewritten most of Günther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.

Andrew, you told me that you would like to see a check whether the AD sequence
number is the same before and after the retrieval to achieve atomicity. This
would be trivial to add, but I'm not sure that we want this, as this adds two
roundtrips to every membership query. We can not know before the first query
whether we get additional range values, and at that point it's too late to ask
for the USN.

Tested with a group of 4000 members along with lots of small groups.

Volker


Revisions:
winbindd_ads.c		1.43.2.27 => 1.43.2.28
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c.diff?r1=1.43.2.27&r2=1.43.2.28


More information about the samba-cvs mailing list