Change LAN and mountpoint in samba configuration
This commit is contained in:
parent
043f2514eb
commit
b73c35dc3b
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue