Hello @Alain Nyeck,
NO. According to Using ldap_init, LDAP_PORT (389) establishes an Unencrypted Session while LDAP_SSL_PORT (636) or LDAP_SSL_GC_PORT (3269) establishes an entire session encrypted.
- To have the entire session encrypted, including the authentication step, call the ldap_init function with its PortNumber parameter set to either LDAP_SSL_PORT (636) or to LDAP_SSL_GC_PORT (3269).
An unencrypted session can be created using the ldap_init function. To do this, call the ldap_init function with its PortNumber parameter set to LDAP_PORT (389).