samba/playstation2.conf: specify hosts allow

This commit is contained in:
Aminda Suomalainen 2023-10-28 20:35:08 +03:00
parent ad59c45eb3
commit 4f87dd6221
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -9,8 +9,12 @@
# enable logging
log level = 5
syslog = 5
# SMBv1, required for PS2
# SMBv1, required for PS2. TODO: Can this be specified just for [PS2SMB]
# instead of weakening security globally?
server min protocol = NT1
# And as we are so insecure, let's only allow the PS2 to connect.
# This could also be specified under [PS2SMB]
hosts allow = 192.168.88.5
workgroup = WORKGROUP
usershare allow guests = yes
map to guest = bad user
@ -26,6 +30,8 @@ keepalive = 60
# on the console
[PS2SMB]
Comment = PlayStation2 images
# PS2 IP
#hosts allow = 192.168.88.5
# These commands are required for SELinux to not complain
# sudo chcon -t samba_share_t /home/aminda/PS2
# sudo setsebool -P samba_enable_home_dirs on