diff options
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 069447358c..adcc855320 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -1654,6 +1654,13 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle, "setting 'snapdirseverywhere' to false.\n")); config->snapdirseverywhere = false; } + + if (config->crossmountpoints == true) { + DEBUG(1, (__location__ " Warning: 'crossmountpoints' " + "is not supported with an absolute snapdir. " + "Disabling it.\n")); + config->crossmountpoints = false; + } } SMB_VFS_HANDLE_SET_DATA(handle, config, |