s3: smbd : SMB2 - fix SMB2_SEARCH when searching non wildcard string with a case...
commitd3fb60ad8bd021db1a99a813d25b31613d03dfe9
authorJeremy Allison <jra@samba.org>
Tue, 10 Jun 2014 22:58:15 +0000 (10 15:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Sep 2014 18:39:19 +0000 (2 20:39 +0200)
tree95dd87181fbb6dba3003bb0c3f019cc5197dc590
parent8a2f945031b685e21f99d118e2ba184587a0f4b7
s3: smbd : SMB2 - fix SMB2_SEARCH when searching non wildcard string with a case-canonicalized share.

We need to go through filename_convert() in order for the filename
canonicalization to be done on a non-wildcard search string (as is
done in the SMB1 findfirst code path).

Fixes Bug #10650 - "case sensitive = True" option doesn't work with "max protocol = SMB2" or higher in large directories.

https://bugzilla.samba.org/show_bug.cgi?id=10650

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_find.c