mdssvc: don't fail mds_add_result() if result is not found in CNID set
authorRalph Boehme <slow@samba.org>
Mon, 10 May 2021 09:07:27 +0000 (11:07 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Jun 2021 05:08:29 +0000 (05:08 +0000)
commit8847f46f75ac5c1a753a0e7da88c522be25ef681
treeb3012d9775e0b0cb9f382d7dc942109c1b116df7
parente2486d76b611f07b85b26c54fe14da7b76bd01c2
mdssvc: don't fail mds_add_result() if result is not found in CNID set

Just skip adding the result to the pending results set, don't return an
error. Returning an error triggers an error at the MDSSVC RPC error which is NOT
what we want here.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/mdssvc/mdssvc.c