allow multiple durable handles to be disconnected and reconnected (bugs #15649, #15651)
https://bugzilla.samba.org/show_bug.cgi?id=15649 https://bugzilla.samba.org/show_bug.cgi?id=15651
It also adds tests to demonstrate https://bugzilla.samba.org/show_bug.cgi?id=15708 ('disconnected durable handles with RH lease should not be purged by a new non conflicting open'). But fixing that requires some complex changes within handle_share_mode_lease() merging logic of open_mode_check() and delay_for_oplock(). That's a task for later...
Checklist
-
Commits have Signed-off-by:
with name/author being identical to the commit author -
(optional) This MR is just one part towards a larger feature. -
(optional, if backport required) Bugzilla bug filed and BUG:
tag added -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated -
CI timeout is 3h or higher (see Settings/CICD/General pipelines/ Timeout)
Reviewer's checklist:
-
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to README.Coding.md
-
This feature/change has adequate documentation added -
No obvious mistakes in the code