mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
samba/playstation2.conf: specify hosts allow
This commit is contained in:
parent
ad59c45eb3
commit
4f87dd6221
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user