CVS update: samba/source/nsswitch

Andrew Bartlett abartlet at samba.org
Thu Jan 1 20:53:16 GMT 2004


On Thu, Jan 01, 2004 at 08:33:45PM +0000, vlendec at samba.org wrote:
> 
> Date:	Thu Jan  1 20:33:45 2004
> Author:	vlendec
> 
> Update of /data/cvs/samba/source/nsswitch
> In directory dp.samba.org:/tmp/cvs-serv20787/nsswitch
> 
> Modified Files:
> 	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.

uSNChanged: 18016

The USN is just another attribute on the same query.  I don't care if
other records have changed, but we should be able to chheck if this
record has changed.

I've just vefired that it does change with changes to group membership.

Andrew Bartlett



More information about the samba-technical mailing list