make samba_guest_account optional
This commit is contained in:
parent
812082a8f2
commit
55d862afb9
2
templates/smb.conf.j2
Normal file → Executable file
2
templates/smb.conf.j2
Normal file → Executable file
@ -23,7 +23,9 @@
|
||||
security = {{ samba_security }}
|
||||
passdb backend = {{ samba_passdb_backend }}
|
||||
map to guest = {{ samba_map_to_guest }}
|
||||
{% if samba_guest_account is defined %}
|
||||
guest account = {{ samba_guest_account }}
|
||||
{% endif %}
|
||||
|
||||
{% if samba_interfaces|length > 0 %}
|
||||
interfaces = {{ samba_interfaces }}
|
||||
|
Loading…
Reference in New Issue
Block a user