summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-01-20 11:50:49 -0800
committerKarolin Seeger <kseeger@samba.org>2017-02-15 11:42:22 +0100
commitaa3a11a95bdcf91230dddb435b30033eb12068b3 (patch)
tree032d943cfaadcb8b90f102b1b9afecd747ba85e9
parent65c38d7f256cf5fdb44b9945aae4be9f3df14543 (diff)
downloadsamba-aa3a11a95bdcf91230dddb435b30033eb12068b3.tar.gz
s3: VFS: shadow_copy2: Add two new variables to the config data. Not yet used.
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)
-rw-r--r--source3/modules/vfs_shadow_copy2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index e7ffcae685c..83566450df6 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -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,