nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #122

LFCS Question #122: Real Exam Question with Answer & Explanation

The correct answer is A: SWAT will completely replace your existing smb.conf file.. 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.

Submitted by anjalisingh· Apr 18, 2026Service Configuration

Question

Which of the following statements are true of the Samba Web Administration Tool? (Choose THREE correct answers)

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

Explanation

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.

Common mistakes.

  • B. By default, SWAT typically runs unencrypted over HTTP, and HTTPS/SSL support requires additional configuration, often through a web server proxy.
  • E. 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

Reference. https://www.samba.org/samba/docs/current/manpages-3/swat.8.html

Topics

#Samba#SWAT#Configuration File#Web Administration

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions