2021-06-14 10:54:13 +02:00
|
|
|
[global]
|
|
|
|
map to guest = Bad User
|
|
|
|
log file = /var/log/samba/%m
|
|
|
|
log level = 1
|
|
|
|
%for %%share in %%smb_share_name
|
|
|
|
|
2021-06-15 10:14:20 +02:00
|
|
|
[%%share]
|
2021-06-14 10:54:13 +02:00
|
|
|
# This share allows anonymous (guest) access
|
|
|
|
# without authentication!
|
|
|
|
path = %%share.smb_share_path
|
|
|
|
read only = no
|
|
|
|
guest ok = yes
|
|
|
|
guest only = yes
|
2021-06-15 10:14:20 +02:00
|
|
|
%end for
|