LX0-104 · 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.. To correctly handle non-English characters in Samba 3 server names and file paths, the unix charset parameter in smb.conf should be configured.
Question
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
(35 responses)- A86% (30)
- B3% (1)
- C9% (3)
- E3% (1)
Why each option
To correctly handle non-English characters in Samba 3 server names and file paths, the `unix charset` parameter in `smb.conf` should be configured.
The `unix charset` parameter in `smb.conf` specifies the character set that Samba uses on the Unix/Linux server side for filenames and other textual metadata. By setting this parameter to an appropriate character set (e.g., UTF-8 for modern systems), Samba can correctly interpret and display non-English characters in server names, share names, and file paths.
While locales are important for the server's overall character handling, `unix charset` in `smb.conf` specifically configures Samba's internal character conversion for network interactions, which is more directly relevant for server naming.
`coding system` is not a standard or appropriate parameter in `smb.conf` for specifying the server's character set.
Encoding non-English characters using BASE64 is a data encoding method, not a configuration parameter for Samba character sets.
Escaping non-English characters with octal code numbers might be a workaround in some contexts but is not the recommended or most suitable configuration procedure for Samba's global character set handling.
Concept tested: Samba `smb.conf` character set configuration
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.