LFCS · Question #122
Which of the following statements are true of the Samba Web Administration Tool? (Choose THREE correct answers)
The correct answer is A. SWAT will completely replace your existing smb.conf file. C. No comments exist in a SWAT-generated smb.conf file. D. SWAT will not write a parameter to smb.conf if it is set to the default setting. The Samba Web Administration Tool (SWAT) rewrites the entire smb.conf file, removes all comments, and only writes parameters that differ from their default settings.
Question
Options
- ASWAT will completely replace your existing smb.conf file.
- BBy default, SWAT runs with SSL over HTTPS.
- CNo comments exist in a SWAT-generated smb.conf file.
- DSWAT will not write a parameter to smb.conf if it is set to the default setting.
- EFor security purposes, Microsoft Windows user passwords cannot be changed via the SWAT
How the community answered
(21 responses)- A90% (19)
- B5% (1)
- E5% (1)
Why each option
The Samba Web Administration Tool (SWAT) rewrites the entire `smb.conf` file, removes all comments, and only writes parameters that differ from their default settings.
SWAT, when saving configuration changes, rewrites the entire `smb.conf` file from scratch, discarding any existing structure, comments, or manual formatting in the process.
By default, SWAT typically runs unencrypted over HTTP, and HTTPS/SSL support requires additional configuration, often through a web server proxy.
When SWAT generates or saves the `smb.conf` file, it omits all comments, resulting in a configuration file that is often cleaner but less human-readable.
SWAT's design is to only write parameters to the `smb.conf` file if their configured value differs from Samba's default setting, which helps to minimize file size and avoid redundancy.
SWAT provides functionalities to manage Samba users, including changing passwords, which are essential for administering user accounts in a domain environment.
Concept tested: Samba SWAT features and behavior
Source: https://www.samba.org/samba/docs/current/manpages-3/swat.8.html
Topics
Community Discussion
No community discussion yet for this question.