[Samba] Game freezing

Antoine Huchet antoine+samba at huchet.me
Fri Nov 24 18:31:30 UTC 2017


Hello,


I hope it is ok to come here for a little help.

I use _Samba Version 4.5.12-Debian_ on a _Linux serveur 4.9.0-4-amd64 #1
SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux_.
I use it to load games from my Playstation 2 over my home network.

Here is the relevant part of my smb.conf file.

    ~ % cat /etc/samba/smb.conf
    [global]
            netbios name = Partage
            workgroup = USERS
            ntlm auth = Yes
            security = user
            idmap config * : backend = tdb
            hosts allow = 192.168.1.
            cclient ntlmv2 auth = Yes

    [PS2SMB]
            path = /srv/PS2SMB
            force user = ps2
            hosts allow = 192.168.1.6
            read only = No
            valid users = ps2

It's all very simple, no fancy settings on my side.
On the PS2 side, I am using Open PS2 Loader (OPL), from
https://github.com/Jay-Jay-OPL/OPL-Daily-Builds. I don't understand this
code very well myself so I couldn't invertigate properly on this side.

Now here is my problem. I can load games, this part works well.
When I let the PS2 idle for a while, without touching anything, it feels
like it looses the connnection to the server. The next time the game
wants to load something, it won't and will freeze.

I believe OPL's code is quite old and maybe doesn't handle everything
Samba does properly.
Could it be some sort of sleeping mode on Samba's side that would cause
the PS2 to disconnect/reconnect, resulting in OPL to be lost?

Side question, "idmap config * : backend = tdb" shouldn't be required
right? I'm not too sure.


Best,
Antoine


More information about the samba mailing list