nerdexam
Linux_Foundation

LFCS · Question #309

What is the most suitable procedure for naming a Samba 3 server with non-English characters?

The correct answer is A. Specify the character set with the unix charset parameter in smb.conf. For Samba 3 servers, using the unix charset parameter in smb.conf is the most suitable method for correctly handling non-English characters in server names and file paths.

Submitted by chen.hong· Apr 18, 2026Service Configuration

Question

What is the most suitable procedure for naming a Samba 3 server with non-English characters?

Options

  • ASpecify the character set with the unix charset parameter in smb.conf.
  • BStart the Samba daemons with an appropriate locale.
  • CSpecify the character set with the coding system parameter in smb.conf
  • DEncode non-English characters using BASE64.
  • EEscape non-English characters with octal code numbers.

How the community answered

(28 responses)
  • A
    89% (25)
  • B
    4% (1)
  • C
    7% (2)

Why each option

For Samba 3 servers, using the `unix charset` parameter in `smb.conf` is the most suitable method for correctly handling non-English characters in server names and file paths.

ASpecify the character set with the unix charset parameter in smb.conf.Correct

The `unix charset` parameter in `smb.conf` is crucial for specifying the character set Samba uses when interacting with the underlying Unix/Linux filesystem. This ensures that filenames and server names containing non-English or special characters are correctly interpreted and displayed across different systems.

BStart the Samba daemons with an appropriate locale.

While a correct locale is important for the underlying OS, Samba's character set handling for shared resources is primarily controlled by `smb.conf` parameters like `unix charset`.

CSpecify the character set with the coding system parameter in smb.conf

`coding system` is not a standard or recognized `smb.conf` parameter for specifying the character set for Unix filenames.

DEncode non-English characters using BASE64.

Encoding non-English characters with BASE64 is not how Samba handles character sets for server names or filenames; it uses specific character set conversions.

EEscape non-English characters with octal code numbers.

Escaping non-English characters with octal code numbers is not the standard or most suitable method for Samba to handle character sets in server names or filenames.

Concept tested: Samba character set configuration

Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba#Character Set#Configuration#smb.conf

Community Discussion

No community discussion yet for this question.

Full LFCS Practice