s3: libsmb: Call cli_dfs_target_check() from cli_ntrename_internal_send().
authorJeremy Allison <jra@samba.org>
Thu, 3 Feb 2022 22:54:26 +0000 (14:54 -0800)
committerJule Anger <janger@samba.org>
Wed, 9 Feb 2022 10:23:20 +0000 (10:23 +0000)
commit9de91537f3dc19b8154ecdd0bec4762c4de7422c
tree4150be4662a6c5d27dbd43296fa3fe73d7d6fb11
parentfdd645fa7028626178f3710f431f52322347c705
s3: libsmb: Call cli_dfs_target_check() from cli_ntrename_internal_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 cf3e5724422d8becd045542be196dfea6ac9ec2b)
source3/libsmb/clifile.c