[Samba] Setting 'unix charset' kills the samba share

Gilbert Soucy gsoucy at 36pix.com
Mon Jan 14 19:47:36 UTC 2019


When I define

*unix charset = ISO-8859-1*

in *smb.conf*, it does not work. When I comment it, the share works fine.
However, we need to define the charset...

When unix charset is

Here is the global section of smb.conf


  workgroup = COMPANY
  realm = COMPANY.COM
  security = ADS

   winbind use default domain = true
   winbind offline logon = true

   idmap config * : backend = tdb
   idmap config * : range = 0-499
   idmap config COMPANY:backend = ad
   idmap config COMPANY:schema_mode = rfc2307
   idmap config COMPANY:range = 500-20000
   idmap config COMPANY:unix_nss_info = yes

   encrypt passwords = yes

   template shell = /bin/bash
   template homedir = /home/%U

   log level = 5
   log file = /var/log/samba/log.%m
   strict locking = no
   unix extensions = no
   dos charset = cp850

   # need to comment out this to get it to wrok

   unix charset = ISO-8859-1

We are running smbd 4.8.3. Previously, we had  4.2.3 and  this

     unix charset = ISO8859-1

was ok.   I found this posting  :

saying that we should use:

     unix charset = ISO-8859-1

 but it does not work for us.

Any idea ?



More information about the samba mailing list