The ldap_stop_tls_s_np() function is used to end a previously established TLS session to a server.
Depending on the server implementation, further communication using the LDAP handle uses the
original unsecured connection, or the connection may be closed by the server.
Authorities and Locks
No IBM® i authority is required. All authority checking is done by the LDAP
server.
Parameters
ld
(Input) Specifies the LDAP pointer used in a previous call to ldap_start_tls_s_np() or ldap_start_tls_app_np(). Must not be NULL.