Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
5f327898
Commit
5f327898
authored
6 years ago
by
Trung Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
Add smb_conf role
parent
d965eaa0
No related branches found
No related tags found
1 merge request
!186
Add smb_conf role
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/smb_config/files/smb.conf
+38
-0
38 additions, 0 deletions
roles/smb_config/files/smb.conf
roles/smb_config/tasks/main.yml
+10
-0
10 additions, 0 deletions
roles/smb_config/tasks/main.yml
with
48 additions
and
0 deletions
roles/smb_config/files/smb.conf
0 → 100644
+
38
−
0
View file @
5f327898
# 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
This diff is collapsed.
Click to expand it.
roles/smb_config/tasks/main.yml
0 → 100644
+
10
−
0
View file @
5f327898
---
-
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
This diff is collapsed.
Click to expand it.
Trung Nguyen
@tngu0050
mentioned in commit
fb4e5d9f
·
4 years ago
mentioned in commit
fb4e5d9f
mentioned in commit fb4e5d9fccc7e124706b3b75c6f42d1413b0a8da
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment