summaryrefslogtreecommitdiffstats
path: root/base/all/root/scripts/cluster_configure/templates/rhel/50.samba
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-10-02 15:39:04 +1000
committerMartin Schwenke <martin@meltin.net>2019-03-25 16:52:25 +1100
commitacab4ff108c902fec404582e9a6fb50cc81a2c04 (patch)
treeb94507f4f95f15140a446961ca048b5d074b2340 /base/all/root/scripts/cluster_configure/templates/rhel/50.samba
parent5cc52f23c345faf13daf579c3e8eaafb5a08a56c (diff)
downloadautocluster-acab4ff108c902fec404582e9a6fb50cc81a2c04.tar.gz
autocluster-acab4ff108c902fec404582e9a6fb50cc81a2c04.tar.xz
autocluster-acab4ff108c902fec404582e9a6fb50cc81a2c04.zip
Remove bash autocluster script and supporting files
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/all/root/scripts/cluster_configure/templates/rhel/50.samba')
-rw-r--r--base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf53
1 files changed, 0 insertions, 53 deletions
diff --git a/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf b/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf
deleted file mode 100644
index 4f8f8d0..0000000
--- a/base/all/root/scripts/cluster_configure/templates/rhel/50.samba/3.4#/files/etc/samba/smb.conf
+++ /dev/null
@@ -1,53 +0,0 @@
-[global]
- # enable clustering
- clustering=yes
- ctdb:registry.tdb=yes
- ctdbd socket = !!|ctdb_socket()!!
-
- security = !!|"ADS" if self.config.get("package:samba", "auth_method") == "winbind" else "USER"!!
- auth methods = guest sam !!|"winbind" if self.config.get("package:samba", "auth_method") == "winbind" else ""!!
-
- netbios name = !!cluster!!
- workgroup = !!workgroup!!
- realm = !!realm!!
- server string = "Clustered Samba"
- disable netbios = yes
- disable spoolss = yes
- fileid:mapping = fsname
- use mmap = yes
- gpfs:sharemodes = yes
- gpfs:leases = yes
- passdb backend = tdbsam
- preferred master = no
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap backend = tdb2
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap:cache = no
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap gid = 10000000-11000000
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap uid = 10000000-11000000
- kernel oplocks = yes
- syslog = 1
- host msdfs = no
- notify:inotify = no
- vfs objects = shadow_copy2 syncops gpfs fileid
- shadow:snapdir = .snapshots
- shadow:fixinodes = yes
- wide links = no
- smbd:backgroundqueue = False
- read only = no
- use sendfile = yes
- strict locking = yes
- posix locking = yes
- large readwrite = yes
- force unknown acl user = yes
- nfs4:mode = special
- nfs4:chown = yes
- nfs4:acedup = merge
- nfs4:sidmap = /etc/samba/sidmap.tdb
- map readonly = no
- ea support = yes
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!groupdb:backend = tdb
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!winbind:online check timeout = 30
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!template shell = /usr/bin/rssh
- !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!template homedir = !!chroot_dir!!
- dmapi support = no
-
-!!%export:format("[%s]\n\tpath = %s\n\tcomment = %s\n\tguest ok = yes\n\tread only = no\n\tbrowseable = yes\n\n", ["name", "directory", "comment"])!!