aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/samba/templates/smb.conf.j2
blob: 00ef87b03ba934c7945602d04909654eeb979547 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                                    
{{ ansible_managed | comment }}

# https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server#Creating_a_Basic_guest_only_smb.conf_File

[global]
    logging = syslog
    map to guest = Bad user
    server role = standalone server
    auto services = {{ samba_share_name }}

[{{ samba_share_name }}]
    path = {{ samba_share_dir }}
    read only = no
    guest ok = yes
    guest only = yes