5 ctdbd socket = !!|ctdb_socket()!!
7 security = !!|"ADS" if self.config.get("package:samba", "auth_method") == "winbind" else "USER"!!
8 auth methods = guest sam !!|"winbind" if self.config.get("package:samba", "auth_method") == "winbind" else ""!!
10 netbios name = !!cluster!!
11 workgroup = !!workgroup!!
13 server string = "Clustered Samba"
16 fileid:mapping = fsname
20 passdb backend = tdbsam
22 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap backend = tdb2
23 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap:cache = no
24 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap gid = 10000000-11000000
25 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!idmap uid = 10000000-11000000
30 vfs objects = shadow_copy2 syncops gpfs fileid
31 shadow:snapdir = .snapshots
32 shadow:fixinodes = yes
34 smbd:backgroundqueue = False
40 force unknown acl user = yes
44 nfs4:sidmap = /etc/samba/sidmap.tdb
47 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!groupdb:backend = tdb
48 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!winbind:online check timeout = 30
49 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!template shell = /usr/bin/rssh
50 !!|"" if self.config.get("package:samba", "auth_method") == "winbind" else "#"!!template homedir = !!chroot_dir!!
53 !!%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"])!!