diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-01-01 20:33:45 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-01-01 20:33:45 +0000 |
commit | 1c13660eebdc905c2df819aa273737c179452957 (patch) | |
tree | c5222ec6d0e66450b1f09176fbf03c40118f897a /source3/nsswitch/wins.c | |
parent | 6eb471e11e596bc27d2d42ff457d6bd772eed228 (diff) | |
download | samba-1c13660eebdc905c2df819aa273737c179452957.tar.gz samba-1c13660eebdc905c2df819aa273737c179452957.tar.bz2 samba-1c13660eebdc905c2df819aa273737c179452957.zip |
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
(This used to be commit a2aa6e41e552abfb6d1056ab3a7c75e8fd0a150c)
Diffstat (limited to 'source3/nsswitch/wins.c')
0 files changed, 0 insertions, 0 deletions