s3: smbd : SMB2 - fix SMB2_SEARCH when searching non wildcard string with a case...
authorJeremy Allison <jra@samba.org>
Tue, 10 Jun 2014 22:58:15 +0000 (15:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 1 Sep 2014 19:34:11 +0000 (21:34 +0200)
commitb95dbbeab9c03b354d9c8cff9ebb9f66411af851
treed6af77faff07186add334740af9d98737e6ce59c
parent925a98da0ce84cbfa3101834cc1aa58f2d0dc89b
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