samba
This commit is contained in:
parent
c67b3b2393
commit
af274d0076
1 changed files with 11 additions and 9 deletions
|
@ -1,16 +1,18 @@
|
||||||
[global]
|
[global]
|
||||||
workgroup = WORKGROUP
|
workgroup = WORKGROUP
|
||||||
logging = syslog
|
logging = syslog
|
||||||
panic action = /usr/share/samba/panic-action %d
|
panic action = /usr/share/samba/panic-action %d
|
||||||
server role = standalone server
|
server role = standalone server
|
||||||
obey pam restrictions = yes
|
obey pam restrictions = yes
|
||||||
unix password sync = no
|
unix password sync = no
|
||||||
server min protocol = SMB3
|
server min protocol = SMB3
|
||||||
server smb encrypt = required
|
server smb encrypt = required
|
||||||
|
local master = yes
|
||||||
|
preferred master = yes
|
||||||
|
|
||||||
% for name, confs in shares.items():
|
% for name, confs in shares.items():
|
||||||
[${name}]
|
[${name}]
|
||||||
% for key, value in confs.items():
|
% for key, value in confs.items():
|
||||||
${key} = ${value}
|
${key} = ${value}
|
||||||
% endfor
|
% endfor
|
||||||
% endfor
|
% endfor
|
||||||
|
|
Loading…
Reference in a new issue