Fix is_legal_name() to not emit character conversion error messages.
authorJeremy Allison <jra@samba.org>
Thu, 12 Sep 2013 21:44:58 +0000 (14:44 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 28 Nov 2013 09:13:41 +0000 (10:13 +0100)
commita70e6b944455c2c24319cc68b8cb15746a469640
tree0e5e8150a05f61f60cd9c0ebd252afa7ee95e428
parent2f9c9b7bb5a1b7c25d1c588fcc0e25ec2b0d9906
Fix is_legal_name() to not emit character conversion error messages.

Using next_codepoint() does the same check, but without the conversion
message.

Signed-off-by: Jeremy Allison <jra@samba.org>
Fix bug #10139 - valid utf8 filenames cause "invalid conversion error" messages.
(cherry picked from commit ee0ef2a5b4b06fdb723a5232f90212fda5e853d1)
source3/smbd/mangle_hash2.c