Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Don't reference the local path when adding includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Daan de Wit committed Jan 4, 2023
1 parent dbc2d98 commit b8c1c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/server/templates/smb.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{% endif %}

{% if samba_global_include is defined %}
include = {{ samba_configuration_dir }}/{{ samba_global_include }}
include = {{ samba_configuration_dir }}/{{ samba_global_include | basename }}
{% endif %}

{% if samba_load_homes %}
Expand Down Expand Up @@ -138,7 +138,7 @@
directory mode = {{ share.directory_mode|default('0775') }}
force directory mode = {{ share.force_directory_mode|default('0775') }}
{% if share.include_file is defined %}
include = {{ samba_configuration_dir }}/{{ share.include_file }}
include = {{ samba_configuration_dir }}/{{ share.include_file | basename }}
{% endif %}

{% endfor %}
Expand Down

0 comments on commit b8c1c8c

Please sign in to comment.