diff options
author | Volker Lendecke <vl@samba.org> | 2016-10-25 11:53:53 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2017-01-22 18:30:12 +0100 |
commit | f969be54417a0d4d2bab0f854ce1c9f9d4639711 (patch) | |
tree | e542d9409e8d21f43c71f47413da9e70b42b90ee /source4/client | |
parent | 07d9a909ba6853fb0b96f6d86e4cf0d5d1b35b28 (diff) | |
download | samba-f969be54417a0d4d2bab0f854ce1c9f9d4639711.tar.gz |
lib: Add "is_case_sensitive" to ms_fnmatch_protocol
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
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); |