etc/samba/playstation2.conf: initial commit

This commit is contained in:
Aminda Suomalainen 2023-03-03 09:54:02 +02:00
parent 0129c468e1
commit e265916ba1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Leans heavily on
# https://github.com/toolboc/psx-pi-smbshare/blob/599248bb0dcfce06d112c7011594acacd7e4a38e/samba-init.sh#L15-L35
# and https://www.redhat.com/sysadmin/samba-file-sharing
#
# Samba has include directives so this can be separate.
# e.g.: include = /etc/samba/playstation2.conf
[global]
# SMBv1, required for PS2
server min protocol = NT1
workgroup = WORKGROUP
usershare allow guests = yes
map to guest = bad user
allow insecure wide links = yes
# This seems to control the share name
[PlayStation2]
Comment = PlayStation2 images
# sudo chcon -t samba_share_t /sambashare/
Path = /home/jaettu/PS2
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
#force user = pi
follow symlinks = yes
wide links = yes