forked from mirrors_public/oddlama_nix-config
feat(samba): Don't advertise inaccessible shares to users
This commit is contained in:
parent
202a1229a8
commit
345198c2ff
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue