mdssvc: fix enforcement of "elasticsearch:max results"
authorRalph Boehme <slow@samba.org>
Thu, 20 Apr 2023 15:58:38 +0000 (17:58 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jul 2023 22:43:38 +0000 (22:43 +0000)
commitd8fa5c8e2a1794ea8dc663485315ebd9401b2628
treee670ab363e5daba663bbf7439748b83ed23cc7c1
parent086c2602d074d4dc0d44f5534857e5f59a8690b2
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>
source3/rpc_server/mdssvc/mdssvc_es.c