node.js - Can I create an anonymous bind using ldapjs similar to when I use php?
one text
Solution:
According to RFC 4513 (LDAP Authentication Methods and Security Mechanisms) :
5.1.1. Anonymous Authentication Mechanism of Simple Bind
An LDAP client may use the anonymous authentication mechanism of the simple Bind method to explicitly establish an anonymous authorization state by sending a Bind request with a name value of zero length and specifying the simple authentication choice containing a password value of zero length.
...this should work :
client.bind('', '', callback);
Source