mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
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"
|
"hosts deny = 0.0.0.0/0"
|
||||||
# Allow access to local network and TODO: wireguard
|
# Allow access to local network and TODO: wireguard
|
||||||
"hosts allow = 192.168.1.0/24"
|
"hosts allow = 192.168.1.0/24"
|
||||||
|
# Don't advertise inaccessible shares to users
|
||||||
|
"access based share enum = yes"
|
||||||
|
|
||||||
# Set sane logging options
|
# Set sane logging options
|
||||||
"log level = 0 auth:2 passdb:2"
|
"log level = 0 auth:2 passdb:2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue