smbd has to cleanup disconnected durable handles after a specific timeout (MS-SMB2 3.3.2.2) if there was no reconnect. It fails to do so and accumulates dead entries in smbXsrv_open_global.tdb
Created attachment 8944 [details] packport the scavenger daemon from master
Created attachment 8995 [details] packport the scavenger daemon from master redone to apply cleanly to v4-0-test
Created attachment 8999 [details] Updated patchset for v4-0-test Thanks Gregor for the patchset! This is an updated patchset: There was one additional patch from master missing on top. With this patch, the durable tests pass again. The missing patch was correcting the setting of the durable scavenge timeout. It was not bad before the scavenger itself was introduced... ;-)
It would be great if one of you guys could review this for 4.0.NEXT. Thanks!
Comment on attachment 8999 [details] Updated patchset for v4-0-test LGTM.
Re-assigning to Karolin for inclusion in 4.0.next. Jeremy.
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test. Closing out bug report. Thanks!