mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smb2_server: skip tcon check and chdir_current_service() for FSCTL_VALIDATE_NEGOTIATE_INFO
We should not fail this just because the user doesn't have permissions
on the share root.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit c850ce96fd
)
This commit is contained in:
parent
fd82e1e4ba
commit
016d9c40bc
@ -1 +0,0 @@
|
||||
^samba3.smb2.ioctl.*.bug14788.VALIDATE_NEGOTIATE
|
@ -3114,6 +3114,9 @@ NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
|
||||
case FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT:
|
||||
call = &_root_ioctl_call;
|
||||
break;
|
||||
case FSCTL_VALIDATE_NEGOTIATE_INFO:
|
||||
call = &_root_ioctl_call;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user