]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: DH reconnect hardening
authorRalph Boehme <slow@samba.org>
Tue, 19 Nov 2024 16:45:35 +0000 (17:45 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 6 Jun 2025 16:16:34 +0000 (16:16 +0000)
commit6f7a4a87feb3dd324ce6aa65b5451ef102032c00
treec4aeeca9062d6b275d04fa5b42090b8829a535a5
parentf23e94a885b746266e217a0410a3ef088520f0c8
smbd: DH reconnect hardening

Verify the smbXsrv_open_global0 is marked as disconnected. This is similarily
checked in SMB_VFS_RECONNECT() for the share_mode_entry and that catches the
problem most of the times. But to be consistent we need this check also in
smb2srv_open_recreate_fn().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15649
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15651

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smbXsrv_open.c