mdssvc: reduce pagesize to 50
authorRalph Boehme <slow@samba.org>
Thu, 20 Apr 2023 15:27:20 +0000 (17:27 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jul 2023 22:43:38 +0000 (22:43 +0000)
commit724a0518c901589fe1171d94648391832e056f4d
tree3bb32a250b8f5569151060177e1f258b47344398
parent7f5e4edf64f7e4175f652bf8762d4edc110ad6b1
mdssvc: reduce pagesize to 50

Lastest macOS queries additional file metadata per search result, which causes
the mashalled paged result set including metadata to exceed the 64 KB result
fragment buffer.

Lacking fragementation support in mdssvc (it's supported by the protocol), for
now just reduce the maximum number of results per search page.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15342

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/blackbox/mdsearch.py
python/samba/tests/dcerpc/mdssvc.py
source3/rpc_server/mdssvc/mdssvc.h