summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2020-05-29 13:03:46 +0530
committerspuiuk <sachin.prabhu@gmail.com>2020-06-19 13:51:30 +0100
commitfc79d28492202a5bc1e16da996fd65cc7b79deee (patch)
tree7d94094c95724fd213be860c404c9f5ebd4ef3ec /vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
parenta9c6941e0d9f6f5fd1f6280b7d297e12a7ff6ea5 (diff)
downloadsamba-integration-fc79d28492202a5bc1e16da996fd65cc7b79deee.tar.gz
samba-integration-fc79d28492202a5bc1e16da996fd65cc7b79deee.tar.xz
samba-integration-fc79d28492202a5bc1e16da996fd65cc7b79deee.zip
Avoid adding volume share to smb.conf using 'user.smb' option
Diffstat (limited to 'vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2')
-rw-r--r--vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2 b/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
index 74df1ad..32187a9 100644
--- a/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
+++ b/vagrant/ansible/roles/samba-glusterfs.setup/templates/smb.conf.j2
@@ -17,3 +17,12 @@ 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/glusterfs-{{ gluster_cluster_volume }}.%M.log
+glusterfs:loglevel = 7
+path = /
+read only = no