Assistance Needed with Persistent Handles Integration into Version 4.19.3

chin housin sharingfun520 at outlook.com
Fri Mar 8 07:41:03 UTC 2024


Hi,
I am currently in the process of integrating persistent handle code into version 4.19.3 and have encountered a couple of issues for which we seek your guidance:

1. In the replay cache section of version 4.19.3, the function `smbXsrv_open_set_replay_cache` has discontinued the use of `global_id` and only added a local flag (DBWRAP_REPLACE). I wonder if there has been any consideration to include the persistent flag (DBWRAP_PERSISTENT) as well.
2. When I change the flag from `DBWRAP_FLAG_NONE` to `DBWRAP_FLAG_PER_REC_PERSISTENT` in the `locking_init_internal` function of share_mode_lock.c, I am unable to access the shared folder. The error message  is: "\192.168.24.8\ph is inaccessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The request operation could not be completed because of a severe media failure or corruption of the data structure on the disk."

Furthermore, I would like to inquire sincerely if persistent handles are still under consideration for version 4.19.3? Are they still on the development agenda?

Your assistance and guidance in this matter would be greatly appreciated.

peace & happiness,
housin


More information about the samba-technical mailing list