s3: libsmb: In cli_ntrename_internal_send() (SMBntrename) check for DFS dst pathname.
commit73a6e2b14a1cfbfd7f3572eddaf4d037bee5b3f3
authorJeremy Allison <jra@samba.org>
Fri, 2 Sep 2022 20:18:06 +0000 (2 13:18 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 15 Sep 2022 18:43:32 +0000 (15 18:43 +0000)
treeec28554ab87dec6e615e945e757e79f57b434bca
parentf1765c9c7be95b8aacd5275a0c502be8c1afcd58
s3: libsmb: In cli_ntrename_internal_send() (SMBntrename) check for DFS dst pathname.

See smbtorture3: SMB1-DFS-PATHS: test_smb1_ntrename_rename().
and smbtorture3: SMB1-DFS-PATHS: test_smb1_ntrename_hardlink().

Remove the old code that stripped a DFS name from the
destination filename, and go through smb1_dfs_share_path()
as we did for fname_src in the last commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/libsmb/clifile.c