diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index 9f66a55..df8bac8 100644 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -53,6 +53,9 @@ {% endif %} path = {{ samba_shares_root }}/{{ share.name }} public = {{ share.public|default('no') }} + {% if share.valid_users is defined %} + valid users= {{ share.valid_users }} + {% endif %} {% if share.write_list is defined %} write list = {{ share.write_list }} {% endif %}