diff options
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 9866444b006..10d027b5e0b 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -311,12 +311,14 @@ static bool mask_match(struct smbcli_state *c, const char *string, return false; if (is_case_sensitive) - return ms_fnmatch_protocol(pattern, string, - c->transport->negotiate.protocol) == 0; + return ms_fnmatch_protocol( + pattern, string, c->transport->negotiate.protocol, + true) == 0; p2 = strlower_talloc(NULL, pattern); s2 = strlower_talloc(NULL, string); - ret = ms_fnmatch_protocol(p2, s2, c->transport->negotiate.protocol) == 0; + ret = ms_fnmatch_protocol(p2, s2, c->transport->negotiate.protocol, + true) == 0; talloc_free(p2); talloc_free(s2); |