s3: smbd: Cleanup - don't set the FLAGS2_DFS_PATHNAMES in flags2 in the glue struct...
commitbb92df7c9e541073e69c6185111d330fa90c98a4
authorJeremy Allison <jra@samba.org>
Mon, 27 Mar 2023 16:48:26 +0000 (27 09:48 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 31 Mar 2023 05:12:32 +0000 (31 05:12 +0000)
tree5aa936964bc1f95af3dbb7938da8cd6fbb656afe
parentea4be00361e5e532f6dfcbf46d90378995cb62d8
s3: smbd: Cleanup - don't set the FLAGS2_DFS_PATHNAMES in flags2 in the glue struct if it's not a DFS server or share.

Even if the client claims it's a DFS pathname. Matches what Windows does if it gets
a DFS pathname on a non-DFS share.

Remove samba3.smbtorture_s3.smb2.SMB2-NON-DFS-SHARE.smbtorture\(fileserver\)
test knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/knownfail.d/dfs_paths
source3/smbd/smb2_glue.c