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)
committerJule Anger <janger@samba.org>
Mon, 6 Dec 2021 10:42:10 +0000 (10:42 +0000)
commitc22480e2640ffc20fb01749f5f6a9ef272d855c8
tree783053d90b5c0181d4b90bd1cc3921025a10ac30
parentf57b3ecccc1478bdf743956e7fef222e4891d508
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>
(cherry picked from commit 629d161b8f579bc24acfaf3fe02612a5237345b4)
selftest/knownfail.d/smb2.ioctl.bug14788 [new file with mode: 0644]
source4/torture/smb2/ioctl.c