s4:drsuapi: don't return all linked attributes at the same time
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Jul 2010 10:52:11 +0000 (12:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 9 Jul 2010 14:43:17 +0000 (16:43 +0200)
commit02a627e71995dc1b0d75165b0772da332b67ba7e
tree9a2025572f78fd224ae7fe197199f160e6a19de6
parent5b5ee73ece4d74747234115de08be19b4a9ae62a
s4:drsuapi: don't return all linked attributes at the same time

Windows gives them in chunks, but I don't know the correct
rule to calculate the chunk size.

For now I'll use 1500 as the max size.

Windows isn't happy when it gets ~ 100000 linked attributes in one
response. It corrupts its directory index and later moves some objects
to the LostAndFound folder.

metze
source4/rpc_server/drsuapi/getncchanges.c