s3:smb2_find: Return that timestamps do not exist as directories
commitc8c0632c871e838fc4465b2a69b4e059e9a126c0
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Thu, 29 Aug 2013 17:36:00 +0000 (29 19:36 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Sep 2013 20:38:50 +0000 (10 22:38 +0200)
tree05f294c36a8c2c07268b5ab25cf9bb28bc683c3b
parent6bd5fef77dc89e925c65af8788528b226edf4fb7
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
source3/include/smb.h
source3/modules/vfs_shadow_copy2.c
source3/smbd/smb2_find.c