From a42f78cd503c8fdb8c8de00f21a4bdc830478567 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 14 May 2007 11:45:39 +0000 Subject: r22842: fix directory listing of SMB2 and include directories and hidden files metze (This used to be commit e087772ec9ec561b13dbdf6bfead7394a184d7d9) --- source4/ntvfs/posix/pvfs_search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit