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