]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: shadow_copy2: Add two new variables to the config data. Not yet used.
authorJeremy Allison <jra@samba.org>
Fri, 20 Jan 2017 19:50:49 +0000 (11:50 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Feb 2017 10:42:22 +0000 (11:42 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12531

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(backported from commit 72fe2b62e3ee7462e5be855b01943f28b26c36c1)

source3/modules/vfs_shadow_copy2.c

index e7ffcae685c3ab2a3148958dc3adf72b83ff120d..83566450df6fdc00d25a4a6b63b4b632fdbf2e54 100644 (file)
@@ -48,6 +48,9 @@ struct shadow_copy2_config {
        char *mount_point;
        char *rel_connectpath; /* share root, relative to a snapshot root */
        char *snapshot_basepath; /* the absolute version of snapdir */
+       char *shadow_cwd; /* Absolute $cwd path. */
+       /* Absolute connectpath - can vary depending on $cwd. */
+       char *shadow_connectpath;
 };
 
 static bool shadow_copy2_find_slashes(TALLOC_CTX *mem_ctx, const char *str,