This ensure unix_convert() calls canonicalize_snapshot_path() on the path to
process the @GMT token, so smb_fname->twrp is filled in with the converted time
value of the @GMT token.
When canonicalize_snapshot_path() starts actually stripping off @GMT tokens, we
can remove this again.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
}
fullpath = tmp;
}
+
+ if (fsp->fsp_name->twrp != 0) {
+ ucf_flags |= UCF_GMT_PATHNAME;
+ }
+
status = filename_convert(state,
conn,
fullpath,