mdssvc: fix enforcement of "elasticsearch:max results"
authorRalph Boehme <slow@samba.org>
Thu, 20 Apr 2023 15:58:38 +0000 (17:58 +0200)
committerJule Anger <janger@samba.org>
Mon, 31 Jul 2023 08:05:14 +0000 (08:05 +0000)
commit39c2b556456bd0a348148df72cafdecf8e3c4a6f
treed6c21d821d8fc3740f7a83fe8bfd0340d3d935c3
parent60fdb3adbee0130ecc993741688979d0a1104ee5
mdssvc: fix enforcement of "elasticsearch:max results"

This wasn't enforced at all thus a query would return all available matches
without limit.

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>
(cherry picked from commit d8fa5c8e2a1794ea8dc663485315ebd9401b2628)
source3/rpc_server/mdssvc/mdssvc_es.c