s4:torture/smb2: FSCTL_QUERY_NETWORK_INTERFACE_INFO should work on noperm share
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Nov 2021 18:56:20 +0000 (19:56 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 1 Dec 2021 11:04:29 +0000 (11:04 +0000)
commit629d161b8f579bc24acfaf3fe02612a5237345b4
treea91018c3db1ff34145765ae8a3a6390b998a233f
parent1744dd8c5bc342a74e397951506468636275fe45
s4:torture/smb2: FSCTL_QUERY_NETWORK_INTERFACE_INFO should work on noperm share

Demonstrate that smbd fails FSCTL_QUERY_NETWORK_INTERFACE_INFO
only 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>
selftest/knownfail.d/smb2.ioctl.bug14788 [new file with mode: 0644]
source4/torture/smb2/ioctl.c