Fix is_legal_name() to not emit character conversion error messages.
commit007ed89399025788de65407ab002bbceb821c730
authorJeremy Allison <jra@samba.org>
Tue, 10 Sep 2013 17:46:18 +0000 (10 10:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 19 Sep 2013 08:12:11 +0000 (19 10:12 +0200)
tree6307d387e3175557f6bb2908f8b6b1d13790dd6f
parent8fd1e540d90380875f0a2048b467b419434e0ee0
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>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 776db7d38597a29536e4127837ffa3b4f4ce35ab)

Fix bug #10139 - valid utf8 filenames cause "invalid conversion error"
messages.
source3/smbd/mangle_hash2.c