]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: In cli_cifs_rename_send() (SMBmv) check for DFS dst pathname.
authorJeremy Allison <jra@samba.org>
Fri, 2 Sep 2022 19:40:19 +0000 (12:40 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 15 Sep 2022 18:43:32 +0000 (18:43 +0000)
commit44bf2bc89a47ead4c7efb77ffa34017dfb9220dc
tree94000be854c615edf9b8295f26db537b9e0263d2
parent4da3c724d5b3a60cd4af83b0a301b96a0d2ee945
s3: libsmb: In cli_cifs_rename_send() (SMBmv) check for DFS dst pathname.

See smbtorture3: SMB1-DFS-PATHS: test_smb1_mv().

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