diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-01-01 20:30:50 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-01-01 20:30:50 +0000 |
commit | 31ff56fd3ef310c1fab557cf26c65ab96d38fb39 (patch) | |
tree | f3849f073590e0e5894a4031dafe4776d2717060 /source3/registry | |
parent | 5d55674b52a516536a03e7f6d710a53efe7f5b8d (diff) | |
download | samba-31ff56fd3ef310c1fab557cf26c65ab96d38fb39.tar.gz samba-31ff56fd3ef310c1fab557cf26c65ab96d38fb39.tar.bz2 samba-31ff56fd3ef310c1fab557cf26c65ab96d38fb39.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 9d8235bf413f931e40bca0c27a25ed62b4f3d226)
Diffstat (limited to 'source3/registry')
0 files changed, 0 insertions, 0 deletions