sgx: samba

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-19 17:22:02 +01:00
parent 3638391894
commit 7ffd2b5128

View file

@ -93,13 +93,12 @@ in
aio read size = 16384
aio write size = 16384
workgroup = WORKGROUP
server string = smbnix
netbios name = smbnix
server string = sgx
netbios name = sgx
security = user
#max protocol = smb2
# note: localhost is the ipv6 localhost ::1
hosts allow = 192.168.178. 127.0.0.1 localhost
hosts deny = 0.0.0.0/0
hosts allow = 192.168.178. 127.0.0.1 localhost 2003::/16 ::1
hosts deny = ALL
guest account = nobody
map to guest = bad user
'';
@ -237,7 +236,7 @@ in
};
};
#networking.firewall.allowedTCPPorts = [ 80 443 1883 548 ];
networking.firewall.allowedTCPPorts = [ 548 ];
networking.firewall.allowPing = true;
services.samba.openFirewall = true;