(PHP 3, PHP 4 )
Binds to the LDAP directory with specified RDN and password. Returns TRUE on success or FALSE on failure.
ldap_bind() does a bind operation on the directory. bind_rdn and bind_password are optional. If not specified, anonymous bind is attempted.