s4:libcli/ldap: add tls channel binding support for ldap_bind_sasl()
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Sep 2023 15:11:03 +0000 (17:11 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:34 +0000 (23:50 +0000)
commit7acb15a53c061344ffdbd58f9b2f01f8b0233f4e
tree565c98b15803719b860e7d3a69a236c39a630c35
parent6c17e3d2800723bafebd1986ab59a9422c881f0b
s4:libcli/ldap: add tls channel binding support for ldap_bind_sasl()

We still allow 'ldap_testing:tls_channel_bindings = no' and
'ldap_testing:channel_bound = no' for testing
the old behavior in order to have expected failures in our tests.

And we have 'ldap_testing:forced_channel_binding = somestring'
in order to force invalid bindings.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15621

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libcli/ldap/ldap_bind.c