diff options
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 2ef054473b..f08d9440f9 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -1902,8 +1902,8 @@ static SMBCFILE *smbc_opendir_ctx(SMBCCTX *context, const char *fname) * the first choice and fall back to MSBROWSE if the * wildcard query fails. */ - if (!name_status_find("*", 0, 0x1d, server_ip, server) && - !name_status_find(MSBROWSE, 1, 0x1d, server_ip, server)) { + if (!name_status_find("*", 0, 0x20, server_ip, server) && + !name_status_find(MSBROWSE, 1, 0x1b, server_ip, server)) { errno = ENOENT; return NULL; } |