ldap_bind
Bind to LDAP directory
&reftitle.description;
boolldap_bind
resourcelink_identifier
stringbind_rdn&null;
stringbind_password&null;
Binds to the LDAP directory with specified RDN and password.
&reftitle.parameters;
link_identifier
An LDAP link identifier, returned by ldap_connect.
bind_rdn
bind_password
If bind_password
is not specified or is empty, an anonymous bind is attempted. The bind_rdn can also be left empty for an anonymous bind. This is defined in https://tools.ietf.org/html/rfc2251#section-4.2.2
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Using LDAP Bind
]]>
Using LDAP Bind Anonymously
]]>
&reftitle.seealso;
ldap_bind_ext
ldap_unbind