From 345198c2ffb23e778986908e75a66cc86605d6da Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 27 Jan 2024 22:50:16 +0100 Subject: [PATCH] feat(samba): Don't advertise inaccessible shares to users --- hosts/sire/guests/samba.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/sire/guests/samba.nix b/hosts/sire/guests/samba.nix index f80490b..316783e 100644 --- a/hosts/sire/guests/samba.nix +++ b/hosts/sire/guests/samba.nix @@ -156,6 +156,8 @@ in { "hosts deny = 0.0.0.0/0" # Allow access to local network and TODO: wireguard "hosts allow = 192.168.1.0/24" + # Don't advertise inaccessible shares to users + "access based share enum = yes" # Set sane logging options "log level = 0 auth:2 passdb:2"