The Samba Configuration File



The Samba Configuration File

The /etc/samba/smb.conf file is the main configuration file you'll need to edit. It is split into five major sections, which Figure outlines.

Figure File Format of smb.conf

Section

Description

[global]

General Samba configuration parameters.

[printers]

Used for configuring printers.

[homes]

Defines treatment of user logins.

[netlogon]

A share for storing logon scripts.

(Not created by default.)

[profile]

A share for storing domain logon information such as favorites and desktop icons.

(Not created by default.)


You can edit this file by hand or more simply through Samba's SWAT Web interface.