]> git.ipfire.org Git - thirdparty/samba.git/commit
mdssvc: fix long running backend queries
authorRalph Boehme <slow@samba.org>
Thu, 23 Mar 2023 15:39:11 +0000 (16:39 +0100)
committerJule Anger <janger@samba.org>
Mon, 31 Jul 2023 08:08:13 +0000 (08:08 +0000)
commit19f10cb9d7d757a996eaa23a82c9e89ca9006bc5
tree2fd835536c2e1085eade81035ec112bfc9efbed5
parent9d97cd01641949e34b34149b0a9141d0e8391b93
mdssvc: fix long running backend queries

If a query is still running in the backend and we have no results yet, returning
0 triggers a search termination by the client in latest macOS releases. macOS
returns 0x23 in this case.

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 925fefae20e52a3c89a56bdd0cd5b98cc951db5f)
source3/rpc_server/mdssvc/mdssvc.c