diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/masktest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index 4097c8c35a..dbd7c2f74b 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -121,8 +121,9 @@ static void get_real_name(struct smbcli_state *cli, f_info_hit = False; smbcli_list_new(cli->tree, mask, - FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY, - listfn, NULL); + FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY, + RAW_SEARCH_BOTH_DIRECTORY_INFO, + listfn, NULL); if (f_info_hit) { fstrcpy(short_name, last_hit.short_name); |