My understanding is, that first of all napi-ldap does anonymous bind and then tries regular (SASL/SIMPLE) bind. For ldap servers configured over port 389, which require STARTTLS before anything else, the anonymous implicit bind fails with “Confidentiality required”. With
After trying everything possible, I come to the conclusion that napi-ldap cannot be used, when the server enforces STARTTLS over ldap:// . napi-ldap can be used, when the protocol is ldaps:// .
My understanding is, that first of all napi-ldap does anonymous bind and then tries regular (SASL/SIMPLE) bind. For ldap servers configured over port 389, which require STARTTLS before anything else, the anonymous implicit bind fails with “Confidentiality required”. With
The output is:
ABC DEF CONNECT ERR undefined Confidentiality required INIT Confidentiality required BIND ERROR 2 Confidentiality required