AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

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

    Posted Fri November 12, 2021 04:22 AM
    Edited by Jakub Pacowski Fri November 12, 2021 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
    ------------------------------


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

    Posted Tue November 16, 2021 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 Wed November 17, 2021 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
    ------------------------------