{# Updated: 2023-09-25 #} # master: {{ common_mastering }} # updated: {{ ansible_date_time.date }} [global] workgroup = {{ samba_workgroup_name }} security = user map to guest = Bad User name resolve order = bcast host usershare allow guests = yes client min protocol = NT1 client max protocol = SMB3 server min protocol = NT1 server max protocol = SMB3 getwd cache = yes strict allocate = yes strict locking = no read raw = yes write raw = yes use sendfile = yes oplocks = yes getwd cache = yes max connections = 65535 max open files = 65535 max xmit = 65535 aio read size = 16384 aio write size = 16384 min receivefile size = 16384 log level = 0 dead time = 15 load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes show add printer wizard = no use sendfile = yes domain master = auto mangled names = no charset = UTF-8 unix charset = UTF-8 display charset = UTF-8 store dos attributes = no ea support = no map archive = no map hidden = no map system = no map readonly = no [work] comment = work path = {{ smb_work }} force user = {{ samba_default_force_user }} force group = {{ samba_default_force_group }} create mask = 0644 directory mask = 0755 force create mode = 0644 force directory mode = 0775 browsable = yes public = yes writable = yes [backups] comment = backups path = {{ smb_backups }} force user = {{ samba_default_force_user }} force group = {{ samba_default_force_group }} create mask = 0644 directory mask = 0755 force create mode = 0644 force directory mode = 0775 browsable = yes public = yes writable = yes [docker] comment = Docker path = {{ smb_docker }} force user = {{ samba_default_force_user }} force group = {{ samba_default_force_group }} create mask = 0644 directory mask = 0755 force create mode = 0644 force directory mode = 0775 browsable = yes public = yes writable = yes