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:
parent
fef3a4c75f
commit
940c3b31dd
@ -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\)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user