s3-shadow-copy2: Fix dir/@GMT-2012.10.15-13.48.43 form of paths
commit16a6181289b719baeae7fae7fe0ba746fd5d41a6
authorVolker Lendecke <vl@samba.org>
Mon, 15 Oct 2012 16:16:44 +0000 (15 18:16 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 27 Jun 2014 04:49:10 +0000 (27 06:49 +0200)
treeb01558214a14ad77294601726fc46f9e819fe635
parent68c7b339ccb02305a27b1192222537074efa0085
s3-shadow-copy2: Fix dir/@GMT-2012.10.15-13.48.43 form of paths

The previous clause in shadow_copy2_strip_snapshot would only handle @GMT-
at the end of a pathname if it was the *only* pathname component. XP
seems to send @GMT- at the end under certain circumstances even with a
path prefix.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/modules/vfs_shadow_copy2.c