mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-05-29 02:47:34 +02:00
samba/playstation2.conf: specify hosts allow
This commit is contained in:
parent
ad59c45eb3
commit
4f87dd6221
@ -9,8 +9,12 @@
|
|||||||
# enable logging
|
# enable logging
|
||||||
log level = 5
|
log level = 5
|
||||||
syslog = 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
|
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
|
workgroup = WORKGROUP
|
||||||
usershare allow guests = yes
|
usershare allow guests = yes
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
@ -26,6 +30,8 @@ keepalive = 60
|
|||||||
# on the console
|
# on the console
|
||||||
[PS2SMB]
|
[PS2SMB]
|
||||||
Comment = PlayStation2 images
|
Comment = PlayStation2 images
|
||||||
|
# PS2 IP
|
||||||
|
#hosts allow = 192.168.88.5
|
||||||
# These commands are required for SELinux to not complain
|
# These commands are required for SELinux to not complain
|
||||||
# sudo chcon -t samba_share_t /home/aminda/PS2
|
# sudo chcon -t samba_share_t /home/aminda/PS2
|
||||||
# sudo setsebool -P samba_enable_home_dirs on
|
# sudo setsebool -P samba_enable_home_dirs on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user