but result is the same.
ldap_url_parse_ext(ldaps://ldap.foo.com:636)
ldap_create
ldap_url_parse_ext(ldaps://ldap.foo.com:636/??base)
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP ldap.foo.com:636
ldap_new_socket: 5
ldap_prepare_socket: 5
ldap_connect_to_host: Trying 10.67.242.198:636
ldap_pvt_connect: fd: 5 tm: -1 async: 0
tlsst_thr_init()
tlsst_init()
tlsst_ctx_new() = 0x7fb530006f60
tlsst_ctx_init(0x7fb530006f60)
tlsst_ciphers_get((null), TLS_CIPHER_SUITE)
tlsst_session_new(0x7fb530006f60)
tlsst_ciphers_set(76, TLS_CIPHER_SUITE)
tlsst_ctx_ref(0x7fb530006f60)
tlsst_session_new(0x7fb530006f60) = 0x7fb530008ef0
tlsst_sb_setup(0x7fb530008ef0)
tlsst_ctx_ref(0x7fb530006f60)
tlsst_session_connect(0x7fb530008ef0)
tlsst_session_handshake()
tlsst_socket_write(0x7fb530008548, 145)
tlsst_socket_read(0x7fb530804800, 5)
tlsst_socket_read(0x7fb530804805, 93)
tlsst_socket_read(0x7fb530804800, 5)
tlsst_socket_read(0x7fb530804805, 778)
tlsst_socket_read(0x7fb530804800, 5)
tlsst_socket_read(0x7fb530804805, 147)
tlsst_socket_read(0x7fb530804800, 5)
tlsst_socket_read(0x7fb530804805, 270)
tlsst_socket_read(0x7fb530804800, 5)
tlsst_socket_read(0x7fb530804805, 4)
TLS: during handshake: peer cert is valid, or was ignored if verification disabled (-9841)
TLS: during handshake: Peer certificate is not trusted: kSecTrustResultRecoverableTrustFailure