Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
cloud
web
Commits
5694b3f7
Commit
5694b3f7
authored
7 years ago
by
Paolino Paperino
Browse files
Options
Downloads
Patches
Plain Diff
2017-11-30: FG; Updated Samba recipe.
parent
2749b832
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/support/kb/general/configureSamba.rst
+10
-1
10 additions, 1 deletion
web/support/kb/general/configureSamba.rst
with
10 additions
and
1 deletion
web/support/kb/general/configureSamba.rst
+
10
−
1
View file @
5694b3f7
...
...
@@ -81,6 +81,11 @@ Create file `/etc/samba/smb.conf` with content similar to:
server string = Samba Server test %v
netbios name = server test
security = user
### NOTE: the following 4 lines assume we are the only Samba master ###
preferred master = yes
local master = yes
domain master = yes
os level = 65
#
# Restrict binding to networks or interfaces, adapt as appropriate
interfaces = 127.0.0.0/8 eth1
...
...
@@ -110,7 +115,9 @@ Create file `/etc/samba/smb.conf` with content similar to:
comment = Read-only FS
valid users = smbrw, smbro
read only = yes
oplocks = False
level2 oplocks = False
[dataout]
path = /home/pathRW
comment = Read-write FS
...
...
@@ -120,6 +127,8 @@ Create file `/etc/samba/smb.conf` with content similar to:
read list = smbro
directory mask = 0755
create mask = 0644
oplocks = False
level2 oplocks = False
If you really want some form of anonymous access, consider editing the section `Anonymous`
in the example above.
...
...
This diff is collapsed.
Click to expand it.
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