Bug 1399 - "short utf8 char" errors logged when samba lib/iconv.c is used
Summary: "short utf8 char" errors logged when samba lib/iconv.c is used
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Extended Characters (show other bugs)
Version: 3.0.4
Hardware: All Solaris
: P3 minor
Target Milestone: none
Assignee: Alexander Bokovoy
QA Contact: Samba QA Contact
URL:
Keywords:
: 1984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-27 16:34 UTC by Yves Lejeune
Modified: 2006-01-25 10:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yves Lejeune 2004-05-27 16:34:53 UTC
When Samba is configured to use its own internal iconv functions
(e.g. when configure is run on Solaris, without GNU iconv installed),
the var/log.smbd file contains error messages like:
    [2004/05/28 13:20:19, 0] lib/iconv.c:(506)
      short utf8 char
when a filename with extended character is processed.

This is caused by "next_mb_char_size" in "lib/charcnv.c", because its 
flag "conv_silent" does not apply to lib/iconv.c.
Comment 1 Eric D. Hendrickson 2004-06-22 12:58:34 UTC
I'm getting streams of these from time to time on my Fedora Cora 2 server, 
running Samba 3.0.3.  I have "unix charset = UTF8", "display charset = UTF8".

Is there a debug setting that will display the name/location of the file(s) 
with the faulty character set?
Comment 2 Björn Jacke 2005-07-21 02:09:44 UTC
*** Bug 1984 has been marked as a duplicate of this bug. ***
Comment 3 Gerald (Jerry) Carter (dead mail address) 2006-01-25 10:45:41 UTC
closing.  retest against 3.0.21b