configuration-templates – Blame information for rev 185
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
81 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
||
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
||
5 | ########################################################################### |
||
6 | ## Optimized standalone configuration template for Samba servers. ## |
||
7 | ## ## |
||
8 | ## Ideal for: ## |
||
9 | ## * Virtual machine file sharing ## |
||
10 | ## ## |
||
11 | ## Requirements: ## |
||
94 | office | 12 | ## * Samba 4.x ## |
81 | office | 13 | ## ## |
14 | ## File placement layout: ## |
||
15 | ## / ## |
||
16 | ## `-- etc ## |
||
17 | ## `-- samba ## |
||
18 | ## |-- smb.conf ## |
||
19 | ## |-- smb.conf.local ## |
||
96 | office | 20 | ## |-- smb.conf.share ## |
21 | ## `-- smb.conf.ldap ## |
||
81 | office | 22 | ## ## |
23 | ## Files Description: ## |
||
96 | office | 24 | ## * /etc/samba/smb.conf (this file) ## |
25 | ## * /etc/samba/smb.conf.local (local server-site settings) ## |
||
81 | office | 26 | ## * /etc/samba/smb.conf.share (samba shares go here) ## |
96 | office | 27 | ## * /etc/samba/smb.conf.ldap (optional ldab configuration) ## |
81 | office | 28 | ## ## |
29 | ########################################################################### |
||
30 | |||
31 | [global] |
||
32 | workgroup = WORKGROUP |
||
33 | # Either the server is a wins server... |
||
34 | # wins support = yes |
||
35 | # ... or it uses an upstream wins server. |
||
36 | # wins server = 192.168.0.1 |
||
185 | office | 37 | bind interfaces only = yes |
81 | office | 38 | interfaces = 192.168.0.0/24 127.0.0.1 |