1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:mdssvv: don't fail the RPC request if the share name is unknown

Taken from macOS. We have to return an empty share_path and an empty policy
handle, but not fail the RPC request.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2019-05-06 14:07:53 +02:00 committed by Jeremy Allison
parent fef3a4c75f
commit 940c3b31dd
2 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,3 @@
^samba3.rpc.mdssvc.rpccmd.open_unknown_share\(fileserver\)
^samba3.rpc.mdssvc.rpccmd.open_spotlight_disabled\(fileserver\)
^samba3.rpc.mdssvc.rpccmd.close\(fileserver\)
^samba3.rpc.mdssvc.rpccmd.null_ph\(fileserver\)

View File

@ -158,7 +158,6 @@ void _mdssvc_open(struct pipes_struct *p, struct mdssvc_open *r)
snum = lp_servicenumber(r->in.share_name);
if (!VALID_SNUM(snum)) {
p->fault_state = DCERPC_FAULT_CANT_PERFORM;
return;
}