s3:tldap: store plain and gensec tstream
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jan 2024 15:00:11 +0000 (16:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Feb 2024 19:29:25 +0000 (20:29 +0100)
commit3f5ada24f2c05f7e71addaf9442f1cd14aeb0092
tree0afabff793770708eba4927bc96a003b5dfad4e0
parent0f6b3566b40c418c7dab9f9a888bf6f9a8fa9bb4
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>
source3/include/tldap.h
source3/lib/tldap.c
source3/lib/tldap_gensec_bind.c