configuration-templates – Blame information for rev 81

Subversion Repositories:
Rev:
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: ##
12 ## * Samba 3.x ##
13 ## * PAM Samba Password Module (Debian: libpam-smbpass) ##
14 ## ##
15 ## File placement layout: ##
16 ## / ##
17 ## `-- etc ##
18 ## `-- samba ##
19 ## |-- smb.conf ##
20 ## |-- smb.conf.local ##
21 ## `-- smb.conf.share ##
22 ## ##
23 ## Files Description: ##
24 ## * /etc/samba/smb.conf (this file) ##
25 ## * /etc/samba/smb.conf.local (local server-site settings) ##
26 ## * /etc/samba/smb.conf.share (samba shares go here) ##
27 ## ##
28 ###########################################################################
29  
30 [global]
31 bind interfaces only = yes
32 name resolve order = lmhosts host wins bcast
33  
34 # Standalone.
35 preferred master = yes
36 security = USER
37 # For compatibility with scripts.
38 passdb backend = smbpasswd
39 map to guest = bad user
40  
41 # Safe Tweaks
42 use sendfile = true
43 aio read size = 16384
44 aio write size = 16384
45 kernel oplocks = yes
46  
47 # Logging
48 log file = /var/log/samba/log.%m
49 log level = 2
50  
51 # Include local settings.
52 include = /etc/samba/smb.conf.local
53  
54 # Include shares.
55 include = /etc/samba/smb.conf.share