]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: Call cli_dfs_target_check() from cli_smb2_hardlink_send().
authorJeremy Allison <jra@samba.org>
Thu, 3 Feb 2022 22:51:13 +0000 (14:51 -0800)
committerJule Anger <janger@samba.org>
Wed, 9 Feb 2022 10:23:20 +0000 (10:23 +0000)
commitfdd645fa7028626178f3710f431f52322347c705
tree777e35c63b195bf93d6f3863456a7b166b0a8d55
parent5790a73a0b68fd558de4b45a3eada85c7b2e78f5
s3: libsmb: Call cli_dfs_target_check() from cli_smb2_hardlink_send().

Currently we don't pass MSDFS names as targets here, but a caller
may erroneously do this later, and for non-DFS names this is a no-op.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 4bdbe3c2fc0c35635474ae526896b28f55142aca)
source3/libsmb/clifile.c