From f7bc5bd7b1e575dd4ba3ea39bd3696414446b910 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Wed, 10 Apr 2024 16:31:35 +0200 Subject: [PATCH] smb perm fix --- services/smb.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/smb.nix b/services/smb.nix index ab6b1dd..f65a758 100644 --- a/services/smb.nix +++ b/services/smb.nix @@ -14,8 +14,8 @@ services.samba = { #use sendfile = yes #max protocol = smb2 # note: localhost is the ipv6 localhost ::1 - hosts allow = 192.168.0. 127.0.0.1 localhost 100.0.0.0/8 - hosts deny = 0.0.0.0/0 + hosts allow = 192.168.1.0/24 127.0.0.1 localhost 100.0.0.0/8 + # hosts deny = 0.0.0.0/0 guest account = nobody map to guest = bad user '';