summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6224e15304..609538f678 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;