Samba currently implements SMB3 Create Replay by storing file handle state with Create GUID as record key in a process private in-memory database. This means that Create Replay is not functional, as any session reconnect will result in a new Samba process that can't access the private in-memory database of the process previously servicing the session. To address this, we need either an additional database or store the records in the smbXsrv_global.tdb database.
Created attachment 16122 [details] WIP patch from my Persistent Handles branch I'm using a sepereate db here, I guess we should just use smbXsrv_open_global.tdb for now.