samba: fixup
This commit is contained in:
parent
44495608b9
commit
77252690ca
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@ let
|
||||||
sharePath = "/mnt/storage/share";
|
sharePath = "/mnt/storage/share";
|
||||||
ipv6 = "fd42:dead:beef::/48";
|
ipv6 = "fd42:dead:beef::/48";
|
||||||
ipv4 = "192.168.42.0/24";
|
ipv4 = "192.168.42.0/24";
|
||||||
allow = "192.168.42 fd42:dead:beef::";
|
allow = "192.168.42. fd42:dead:beef::";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.dadada.fileShare = {
|
options.dadada.fileShare = {
|
||||||
|
@ -24,7 +24,6 @@ in
|
||||||
#max protocol = smb2
|
#max protocol = smb2
|
||||||
min protocol = SMB3
|
min protocol = SMB3
|
||||||
hosts allow = ${allow} localhost
|
hosts allow = ${allow} localhost
|
||||||
hosts deny = 0.0.0.0/0
|
|
||||||
guest account = nobody
|
guest account = nobody
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue