Skip to content
Snippets Groups Projects
Commit 5f327898 authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Add smb_conf role

parent d965eaa0
No related branches found
No related tags found
1 merge request!186Add smb_conf role
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = MONASH
security = user
client max protocol = SMB3
client min protocol = SMB2
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
---
- name: Config smb.conf parameter added to prevent SMB1 connections to RDS
copy:
src: files/smb.conf
dest: /etc/samba/smb.conf
owner: root
group: root
mode: 0644
become: yes
tags: smb_config
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment