configuration-templates – Rev 137

Subversion Repositories:
Rev:
###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
##  Please see: http://www.gnu.org/licenses/gpl.html for legal details,  ##
##  rights of fair usage, the disclaimer and warranty conditions.        ##
###########################################################################
## Optimized standalone configuration template for Samba servers.        ##
##                                                                       ##
## Ideal for:                                                            ##
##   * Virtual machine file sharing                                      ##
##                                                                       ##
## Requirements:                                                         ##
##   * Samba 4.x                                                         ##
##                                                                       ##
## File placement layout:                                                ##
##  /                                                                    ##
##  `-- etc                                                              ##
##     `-- samba                                                         ##
##         |-- smb.conf                                                  ##
##         |-- smb.conf.local                                            ##
##         |-- smb.conf.share                                            ##
##         `-- smb.conf.ldap                                             ##
##                                                                       ##
## Files Description:                                                    ##
##   * /etc/samba/smb.conf (this file)                                   ##
##   * /etc/samba/smb.conf.local (local server-site settings)            ##
##   * /etc/samba/smb.conf.share (samba shares go here)                  ##
##   * /etc/samba/smb.conf.ldap (optional ldab configuration)            ##
##                                                                       ##
###########################################################################

[global]
    workgroup = WORKGROUP
    # Either the server is a wins server...
    # wins support = yes
    # ... or it uses an upstream wins server.
    # wins server = 192.168.0.1
    interfaces = 192.168.0.0/24 127.0.0.1