]> git.ipfire.org Git - thirdparty/pdns.git/commit
Correctly handle reconnection in several routines. 16225/head
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 9 Oct 2025 08:40:52 +0000 (10:40 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Thu, 9 Oct 2025 09:18:53 +0000 (11:18 +0200)
commit6d95f2fdb21f732e6bcd5035939692e9b6e8a93e
tree334711adcd896b81ebd048a688f71484c7cfbbc2
parent8d62033eff760e531516ddaac715d05796067799
Correctly handle reconnection in several routines.

If the search failed with a LDAPNoConnection exception and reconnection
is successful, we would recurse to reiterate the operation, but then would
proceed with the exist logic operating on uninitialized data.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
modules/ldapbackend/native.cc
modules/ldapbackend/primary.cc