summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-05-29 17:11:44 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-05 09:21:00 +1300
commit6da7375cd881f85f2873578db7fcfb368deab94f (patch)
treecbd8fad5704c4a92c464a538e9352b13debb4720
parent5c900fd930edd45e9f23b36c1e68e5c2d8b96867 (diff)
downloadsamba-6da7375cd881f85f2873578db7fcfb368deab94f.tar.gz
samba-6da7375cd881f85f2873578db7fcfb368deab94f.tar.bz2
samba-6da7375cd881f85f2873578db7fcfb368deab94f.zip
shadow_copy2: add comment explaining the SMB level GMT format pattern
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/include/smb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 12882221e3..0d07f71750 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -567,7 +567,15 @@ Offset Data length.
#define NOTIFY_ACTION_REMOVED_STREAM 7
#define NOTIFY_ACTION_MODIFIED_STREAM 8
-/* timestamp format used in "previous versions" */
+/*
+ * Timestamp format used in "previous versions":
+ * The is the windows-level format of the @GMT- token.
+ * It is a fixed format not to be confused with the
+ * format for the POSIX-Level token of the shadow_copy2
+ * VFS module that can be configured via the "shadow:format"
+ * configuration option but defaults to the same format.
+ * See the shadow_copy2 module.
+ */
#define GMT_NAME_LEN 24 /* length of a @GMT- name */
#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"