summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
blob: 81aaba3944faeac588784858e75181701cd62579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[global]
netbios name = {{ samba_netbios_name }}
clustering = yes
log file = /var/log/samba/log.%m
max log size = 0
server string = Samba server version %v
workgroup = MYGROUP
security = user

kernel share modes = No
map archive = No
posix locking = No
kernel change notify = no

load printers = no
printcap name = /dev/null
disable spoolss = yes
printing = bsd
show add printer wizard = no

[{{ samba_share }}]
comment = For samba share of volume {{ gluster_cluster_volume }}
vfs objects = acl_xattr glusterfs
glusterfs:volume = {{ gluster_cluster_volume }}
glusterfs:logfile = /var/log/samba/{{ samba_share }}.%M.log
glusterfs:loglevel = 7
path = /
read only = no