]> git.ipfire.org Git - thirdparty/samba.git/commit
tldap: use tevent_req_set_endtime() to terminate LDAP searches
authorRalph Boehme <slow@samba.org>
Mon, 21 Jul 2025 04:44:22 +0000 (06:44 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 13 Aug 2025 18:30:44 +0000 (18:30 +0000)
commit4e79fe13325385ef4fe37baeec8656c9b332de19
treee4c065d7a358ab6c2b94861133ce30a0f76d98be
parent9ad2e59a464bb472da2071c61a254547b6497625
tldap: use tevent_req_set_endtime() to terminate LDAP searches

Needed to detect unresponsive LDAP servers, otherwise we might be sitting up to
924.6 seconds after sending a request before the kernel notifies us of a broken
connection.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/lib/tldap.c