Skip to content

Instantly share code, notes, and snippets.

@drwpow
Last active August 6, 2026 06:32
Show Gist options
  • Select an option

  • Save drwpow/142fc3c03d3ff097e002b4677fbcfbe7 to your computer and use it in GitHub Desktop.

Select an option

Save drwpow/142fc3c03d3ff097e002b4677fbcfbe7 to your computer and use it in GitHub Desktop.
PS2 OPL Samba Config (2026, working)

Notes

  • DVD games go in /DVD
  • Files must be in .iso format
    • bchunk can be used to convert .bin/.cue -> .iso
  • Some games have compatibility settings needed in /CFG/[game_id].cfg
  • Reading from a HDD, OPL will err if the files aren't defragmented (this is not a joke)
[global]
## Browsing/Identification ###
client min protocol = CORE
client max protocol = NT1
server min protocol = NT1
server max protocol = SMB3
server signing = disabled
smb encrypt = disabled
workgroup = smb
map to guest = never
strict sync = no
ntlm auth = yes
smb encrypt = disabled
#### Networking ####
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = yes
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
logging = file
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
server role = standalone server
obey pam restrictions = yes
# unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# pam password change = yes
# map to guest = bad user
########## Domains ###########
; logon path = \\%N\profiles\%U
; logon drive = H:
# logon home = \\%N\%U
; logon script = logon.cmd
; add user script = /usr/sbin/useradd --create-home %u
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
; add group script = /usr/sbin/addgroup --force-badname %g
############ Misc ############
; include = /home/samba/etc/smb.conf.%m
; idmap config * : backend = tdb
; idmap config * : range = 3000-7999
; idmap config YOURDOMAINHERE : backend = tdb
; idmap config YOURDOMAINHERE : range = 100000-999999
; template shell = /bin/bash
# usershare max shares = 100
usershare allow guests = yes
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/tmp
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
; write list = root, @lpadmin
[ps2]
comment = ps2
path = ~/share/ps2
browseable = yes
read only = no
guest ok = no
valid users = [your_user]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment