summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-08 09:11:36 +0200
committerChristian Ambach <ambi@samba.org>2012-05-08 09:26:07 +0200
commit617b63658b02957422359a76fd8b8e4748d228ee (patch)
treedebfb887cf47496d148b7a174a0c051e0646b8c6 /source3/modules
parenta7df061ddfc9cdb8ea41cf770ce9c28523246d45 (diff)
downloadsamba-617b63658b02957422359a76fd8b8e4748d228ee.tar.gz
samba-617b63658b02957422359a76fd8b8e4748d228ee.tar.bz2
samba-617b63658b02957422359a76fd8b8e4748d228ee.zip
s3:vfs/shadow_copy2 make descending sort order the default
otherwise Explorer won't work correctly when trying to restore a folder
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 24356ece1f..4efc0cad57 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -1047,7 +1047,7 @@ static void shadow_copy2_sort_data(vfs_handle_struct *handle,
const char *sort;
sort = lp_parm_const_string(SNUM(handle->conn), "shadow",
- "sort", NULL);
+ "sort", "desc");
if (sort == NULL) {
return;
}