]> git.ipfire.org Git - thirdparty/samba.git/commit
tldap_tls: Move creation of tls_params out of tldap_tls_connect()
authorVolker Lendecke <vl@samba.org>
Thu, 7 Nov 2024 09:53:48 +0000 (10:53 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 14:03:03 +0000 (14:03 +0000)
commit2cc41bd6ae1c4136661578e20019f6365f306ca8
treeb4febaa8fa5b9458722965534995601c06145a66
parent19ab2db59acaa4f9b9283ff9da88dc14b60fda46
tldap_tls: Move creation of tls_params out of tldap_tls_connect()

Soon we will have a tldap user which does not want to verify the
certs. Instead of passing another boolean down, hand in pre-created
tstream_tls_params.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/tldap_tls_connect.c
source3/lib/tldap_tls_connect.h
source3/torture/torture.c
source3/winbindd/idmap_ad.c