Change LAN and mountpoint in samba configuration

This commit is contained in:
coolneng 2021-03-12 16:03:08 +01:00
parent 043f2514eb
commit b73c35dc3b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -10,14 +10,14 @@
server string = samba server string = samba
netbios name = samba netbios name = samba
security = ${config.services.samba.securityType} security = ${config.services.samba.securityType}
hosts allow = 192.168.1 localhost hosts allow = 10.0.1 localhost
hosts deny = 0.0.0.0/0 hosts deny = 0.0.0.0/0
guest account = nobody guest account = nobody
map to guest = bad user map to guest = bad user
''; '';
shares.public = { shares.public = {
# FIXME Change path accordingly # FIXME Change path accordingly
sharepath = "/mnt/Shares/Public"; sharepath = "/vault/samba";
browseable = "yes"; browseable = "yes";
"read only" = "no"; "read only" = "no";
"guest ok" = "yes"; "guest ok" = "yes";