LX0-104 · Question #605
When using a localized installation of Windows - such as Japanese or Chinese - the names of files which are stored on the server do not display correctly in Windows Explorer. Which parameters in smb.c
The correct answer is A. unix charset C. dos charset. Incorrect file name display in localized Windows environments often indicates a mismatch in character set settings between the Samba server and Windows clients. The unix charset and dos charset parameters in smb.conf are critical for resolving these encoding issues.
Question
Options
- Aunix charset
- Bdisplay charset
- Cdos charset
- Dwindows charset
- EUnicode
How the community answered
(53 responses)- A91% (48)
- B2% (1)
- D2% (1)
- E6% (3)
Why each option
Incorrect file name display in localized Windows environments often indicates a mismatch in character set settings between the Samba server and Windows clients. The `unix charset` and `dos charset` parameters in `smb.conf` are critical for resolving these encoding issues.
The `unix charset` parameter specifies the character set Samba uses to store filenames on the Unix file system, which is crucial for correct encoding within the server environment.
`display charset` is primarily for the character set used by Samba utilities on the console, not for client-facing file name encoding.
The `dos charset` parameter defines the character set Samba uses for filenames when communicating with older DOS/Windows clients. Mismatches in these settings with localized Windows installations can lead to incorrect display of filenames, and configuring both appropriately ensures proper character encoding translation.
`windows charset` is often an alias or a more general concept, but the specific, actionable parameters for file name encoding for different client types are `unix charset` and `dos charset`.
`Unicode` is a character encoding standard but not a direct `smb.conf` parameter used to resolve display issues; Samba handles Unicode via conversions defined by other charset settings.
Concept tested: Samba character set configuration
Source: https://www.samba.org/samba/docs/current/manpages/samba-smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.