smb2_server: skip tcon check and chdir_current_service() for FSCTL_QUERY_NETWORK_INTE...
authorStefan Metzmacher <metze@samba.org>
Wed, 15 Sep 2021 17:29:40 +0000 (19:29 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 1 Dec 2021 11:51:50 +0000 (11:51 +0000)
commitf4d0bb164f028da46eab766135bb38175c117deb
tree6ba444add4ca95bf3b05c6a03db734e55cb200ea
parent629d161b8f579bc24acfaf3fe02612a5237345b4
smb2_server: skip tcon check and chdir_current_service() for FSCTL_QUERY_NETWORK_INTERFACE_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>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Dec  1 11:51:50 UTC 2021 on sn-devel-184
selftest/knownfail.d/smb2.ioctl.bug14788 [deleted file]
source3/smbd/smb2_server.c