s3:tldap: store plain and gensec tstream
commit557de8f39e353953f82afd0ea9aa747c2bdc9dde
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jan 2024 15:00:11 +0000 (23 16:00 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:34 +0000 (23 23:50 +0000)
tree69c1347ee136de5a30aa93a56c6d2761f63d88ee
parent3bf3d4d855d2a4cfbcd8be9db771add7c4b4a113
s3:tldap: store plain and gensec tstream

Also allow resetting to plain.

We now have ld->active as the currently active
tstream, which will allow us to add tls support
soon.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/include/tldap.h
source3/lib/tldap.c
source3/lib/tldap_gensec_bind.c