Skip to content
Snippets Groups Projects
Commit 5694b3f7 authored by Paolino Paperino's avatar Paolino Paperino
Browse files

2017-11-30: FG; Updated Samba recipe.

parent 2749b832
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
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