update--
This commit is contained in:
		| @@ -67,7 +67,7 @@ | ||||
| # This can be either the interface name or an IP address/netmask; | ||||
| # interface names are normally preferred | ||||
| ;   interfaces = 127.0.0.0/8 eth0 | ||||
|    interfaces =   {{ samba_server_ip }}/{{ samba_server_cidr_prefix }} 127.0.0.1/8 | ||||
|    interfaces =  {{ samba_server_ip }}/{{ samba_server_cidr_prefix }}  127.0.0.1/8 | ||||
|  | ||||
| # Option 'hosts deny' and 'hosts allow' added to debian's default smb.conf  | ||||
|    hosts deny = 0.0.0.0/0 | ||||
| @@ -337,7 +337,7 @@ | ||||
| {%  else %} | ||||
|    read only = no | ||||
| {%  endif %} | ||||
| {%  if item.writeable is defined and item.writeable |length > 0 %} | ||||
| {%  if item.writeable is defined and item.writeable|length > 0 %} | ||||
|    writeable = {{ item.writeable }} | ||||
| {%  else %} | ||||
|    writeable = yes | ||||
| @@ -399,14 +399,18 @@ | ||||
|    # - included in the entry. '*' and '?' can be used to  specify multiple files or | ||||
|    # - directories as in DOS wildcards. | ||||
|    # - | ||||
| {%         if item.vfs_object_recycle_is_visible is defined and item.vfs_object_recycle_is_visible|bool %} | ||||
|    veto files = /.DS_Store/ | ||||
| {%         else %} | ||||
|    veto files = /{{ item.recycle_path | default('@Recycle.Bin') }}/.DS_Store/ | ||||
| {%         endif %} | ||||
|    delete veto files = yes | ||||
| {%       else %} | ||||
| {%      else %} | ||||
|  | ||||
| {%       endif %} | ||||
| {%    else %} | ||||
| {%      endif %} | ||||
| {%   else %} | ||||
|  | ||||
| {%    endif %} | ||||
| {%   endif %} | ||||
|  | ||||
| {% endfor %} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user