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)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Sep 2020 13:34:10 +0000 (13:34 +0000)
commit4b02185ecc11f096a47be5630f0f0b273ba2cd90
treef37c084745e58e23c6e7d45ffba07671946b62bb
parenta3758fa56eccc7034b3c859f010b0fb709162229
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>
(cherry picked from commit cb852c9dc0d0fa1d3e7473082ad6b460106b314b)
source3/lib/tldap.c