smb perm fix

This commit is contained in:
Adrian Gunnar Lauterer 2024-04-10 16:31:35 +02:00
parent 8287465048
commit f7bc5bd7b1
1 changed files with 2 additions and 2 deletions

View File

@ -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
'';