From c4b12f3ed3a7b45610abf002fa885fd1af39735c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 31 May 2013 17:17:27 +0200 Subject: [PATCH] shadow_copy2: log resulting config at the end of shadow_copy2_connect() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett (cherry picked from commit c4f9954ebb04da94a5bcd2cb328fb2fbaf9fa062) --- source3/modules/vfs_shadow_copy2.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 753f34698fe..1cf65127dd7 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -1777,6 +1777,35 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle, } } + DEBUG(10, ("shadow_copy2_connect: configuration:\n" + " share root: '%s'\n" + " basedir: '%s'\n" + " mountpoint: '%s'\n" + " rel share root: '%s'\n" + " snapdir: '%s'\n" + " snapshot base path: '%s'\n" + " format: '%s'\n" + " use sscanf: %s\n" + " snapdirs everywhere: %s\n" + " cross mountpoints: %s\n" + " fix inodes: %s\n" + " sort order: %s\n" + "", + handle->conn->connectpath, + config->basedir, + config->mount_point, + config->rel_connectpath, + config->snapdir, + config->snapshot_basepath, + config->gmt_format, + config->use_sscanf ? "yes" : "no", + config->snapdirseverywhere ? "yes" : "no", + config->crossmountpoints ? "yes" : "no", + config->fixinodes ? "yes" : "no", + config->sort_order + )); + + SMB_VFS_HANDLE_SET_DATA(handle, config, NULL, struct shadow_copy2_config, return -1); -- 2.11.4.GIT