tldap: Maintain the ldap read request in tldap_context
authorVolker Lendecke <vl@samba.org>
Tue, 11 Aug 2020 15:14:14 +0000 (17:14 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 21 Aug 2020 19:14:33 +0000 (19:14 +0000)
commitcb852c9dc0d0fa1d3e7473082ad6b460106b314b
tree5c7303ee5265859b7fe36fe29e807c5a3078947c
parent14f6d1996ec38620b1c05a3b6c0e26dd21801fac
tldap: Maintain the ldap read request in tldap_context

Required for proper connection rundown, we need to TALLOC_FREE() the
read request before shutting down the tstream

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/tldap.c