{# Updated: 2023-12-05 #} # 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 max connections = 65535 max open files = 65535 max xmit = 65535 log level = 0 dead time = 15 load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes show add printer wizard = no 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 log file = /var/log/samba.%m.log log level = 1 aio read size = 1 aio write size = 1 min receivefile size = 1 write cache size = 524288 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 server signing = auto server multi channel support = yes interfaces = {{ vm_ip_vm }};speed=1000000000 [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