Add optional valid users

This commit is contained in:
Bert Van Vreckem 2015-03-14 01:17:48 +01:00
parent 41a14e75ef
commit 31ec2a4093

View File

@ -53,6 +53,9 @@
{% endif %} {% endif %}
path = {{ samba_shares_root }}/{{ share.name }} path = {{ samba_shares_root }}/{{ share.name }}
public = {{ share.public|default('no') }} public = {{ share.public|default('no') }}
{% if share.valid_users is defined %}
valid users= {{ share.valid_users }}
{% endif %}
{% if share.write_list is defined %} {% if share.write_list is defined %}
write list = {{ share.write_list }} write list = {{ share.write_list }}
{% endif %} {% endif %}