summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2013-08-29 19:36:00 +0200
committerJeremy Allison <jra@samba.org>2013-09-10 22:38:50 +0200
commitc8c0632c871e838fc4465b2a69b4e059e9a126c0 (patch)
tree05f294c36a8c2c07268b5ab25cf9bb28bc683c3b /source3/modules
parent6bd5fef77dc89e925c65af8788528b226edf4fb7 (diff)
downloadsamba-c8c0632c871e838fc4465b2a69b4e059e9a126c0.tar.gz
samba-c8c0632c871e838fc4465b2a69b4e059e9a126c0.tar.bz2
samba-c8c0632c871e838fc4465b2a69b4e059e9a126c0.zip
s3:smb2_find: Return that timestamps do not exist as directories
When a Windows client receives a large directory listing while querying snapshots, it sends a find request asking for the timestamp as a directory. A Windows server returns NO_SUCH_FILE, so make sure Samba returns the same. Otherwise the client will get confused and display timestamps in the 'previous versions' dialog. Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 10 22:38:51 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_shadow_copy2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index 60f9628600..aa7e50ff51 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -107,9 +107,6 @@
#include <ccan/hash/hash.h>
#include "util_tdb.h"
-#define GMT_NAME_LEN 24 /* length of a @GMT- name */
-#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"
-
static bool shadow_copy2_find_slashes(TALLOC_CTX *mem_ctx, const char *str,
size_t **poffsets,
unsigned *pnum_offsets)