feat(samba): Don't advertise inaccessible shares to users

This commit is contained in:
oddlama 2024-01-27 22:50:16 +01:00
parent 202a1229a8
commit 345198c2ff
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -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"