This commit is contained in:
parent
201263a0af
commit
954e8cf7bf
@ -4,6 +4,7 @@ samba-config:
|
|||||||
ini.options_present:
|
ini.options_present:
|
||||||
- name: /etc/samba/smb.conf
|
- name: /etc/samba/smb.conf
|
||||||
- sections: {{ samba.config }}
|
- sections: {{ samba.config }}
|
||||||
|
- strict: True
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: samba-service-smbd
|
- service: samba-service-smbd
|
||||||
- service: samba-service-nmbd
|
- service: samba-service-nmbd
|
||||||
|
@ -3,4 +3,16 @@ samba:
|
|||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
workgroup: PAULBSD
|
dns proxy: "No"
|
||||||
|
"idmap config * : backend": "tdb"
|
||||||
|
log file: "/var/log/samba/log.%m"
|
||||||
|
map to guest: "Bad User"
|
||||||
|
max log size: "1000"
|
||||||
|
obey pam restrictions: "Yes"
|
||||||
|
pam password change: "Yes"
|
||||||
|
panic action: "/usr/share/samba/panic-action %d"
|
||||||
|
passwd program: "/usr/bin/passwd %u"
|
||||||
|
server role: "standalone server"
|
||||||
|
server string: "%h"
|
||||||
|
unix password sync: "Yes"
|
||||||
|
usershare allow guests: "Yes"
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
- .users
|
#- .users
|
||||||
|
- .service
|
||||||
|
Loading…
Reference in New Issue
Block a user