Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  Samba 4.12 "conversion error: illegal character"

    Posted 11/12/21 04:22 AM
    Edited by Jakub Pacowski 11/12/21 05:54 AM
    Hello All,
    after upgrade'ing samba from 3.X to 4.12 I've encounter problems with non-english characters (polish to be strict). Client connect to share does not see any files with non-english chars. Session log shows error  "conversion error: illegal character".
    Any clue how to resolve the issue? Is it configuration problem or some packages are missing?


    Edit: seems setting the unix charset and dos charset is the clue.
    Google search point also to mangled name, but I think it's rather related to file name length.

    ------------------------------
    Jakub Pacowski
    ------------------------------
    #AIXOpenSource


  • 2.  RE: Samba 4.12 "conversion error: illegal character"

    Posted 11/16/21 02:41 AM
    This looks more like a configuration issue. 
    Do you have "unix charset" configured in smb.conf ? The default value is UTF-8. 
    testparm -sv | grep -i charset

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Samba 4.12 "conversion error: illegal character"

    Posted 11/17/21 04:06 AM
    Hello Ayappan,
    yes, that helped. Thank you. We tried also with dos charset, but unix charset (only) did the work. We had to change it to ISO... All files are visible now.
    Imho strange behavior of Samba (not showing all files) or at least not what I would expect. Seems that verification of the directory visibility is not enough to be sure it's configured properly.

    ------------------------------
    Jakub Pacowski
    ------------------------------