summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-14 11:45:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:24 -0500
commita42f78cd503c8fdb8c8de00f21a4bdc830478567 (patch)
tree6e544f845c65d5003d27bdfa511d2e10caed1ccb
parent8861c4a68ed23af2388103f2ca793f6833b4b58b (diff)
downloadsamba-a42f78cd503c8fdb8c8de00f21a4bdc830478567.tar.gz
samba-a42f78cd503c8fdb8c8de00f21a4bdc830478567.tar.xz
samba-a42f78cd503c8fdb8c8de00f21a4bdc830478567.zip
r22842: fix directory listing of SMB2 and include directories and hidden files
metze (This used to be commit e087772ec9ec561b13dbdf6bfead7394a184d7d9)
-rw-r--r--source4/ntvfs/posix/pvfs_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_search.c b/source4/ntvfs/posix/pvfs_search.c
index 6224e15304d..609538f6787 100644
--- a/source4/ntvfs/posix/pvfs_search.c
+++ b/source4/ntvfs/posix/pvfs_search.c
@@ -683,7 +683,7 @@ static NTSTATUS pvfs_search_first_smb2(struct ntvfs_module_context *ntvfs,
search->handle = INVALID_SEARCH_HANDLE;
search->dir = dir;
search->current_index = 0;
- search->search_attrib = 0;
+ search->search_attrib = 0x0000FFFF;
search->must_attrib = 0;
search->last_used = 0;
search->num_ea_names = 0;