smbd: call canonicalize_snapshot_path() on link target paths from client
authorRalph Boehme <slow@samba.org>
Thu, 30 Apr 2020 15:46:31 +0000 (17:46 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:41 +0000 (19:18 +0000)
commit7fca428cfb99d9da2b6a8dedb4ddc27c1347e334
treefff267dbd3704d5fe98a27d0e668cf784d7dea62
parent96921b6f5be1d7540b8fee3011b3488ad6cf0ed3
smbd: call canonicalize_snapshot_path() on link target paths from client

Prepares for having canonicalize_snapshot_path() strip any @GMT token from link
targets. In the future VFS modules won't be doing @GMT token stripping, so we
have to do it here.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c
source3/torture/cmd_vfs.c