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)
committerJule Anger <janger@samba.org>
Mon, 6 Dec 2021 11:36:01 +0000 (11:36 +0000)
commit6f7e39b061134ac2387c1d1ebfbe61c1c1a34422
tree0ccf066e699655485c463b5594fc2aca88e65d3a
parentc22480e2640ffc20fb01749f5f6a9ef272d855c8
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

(cherry picked from commit f4d0bb164f028da46eab766135bb38175c117deb)

Autobuild-User(v4-15-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-15-test): Mon Dec  6 11:36:01 UTC 2021 on sn-devel-184
selftest/knownfail.d/smb2.ioctl.bug14788 [deleted file]
source3/smbd/smb2_server.c