/etc/samba/smb.conf file is broken into sections. Each section is a description of the resource shared (share) and should be titled appropriately. The three special sections are as follows:
[global]—Establishes the global configuration settings (defined in detail in the
smb.conf man page and Samba documentation, found under the
/home directories and specifies directory paths and permissions
[printers]—Handles printing by defining shared printers and printer access
Each section in your
/etc/samba/smb.conf configuration file should be named for the resource being shared. For example, if the resource
/usr/local/programs is being ...