PHP Manual
Prev |  | Next

# ldap_bind

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ldap_bind -- Bind to LDAP directory

## Description

``int ldap_bind` (int link_identifier [, string bind_rdn [, string bind_password]])`

Binds to the LDAP directory with specified RDN and password. Returns `TRUE` on success and `FALSE` on error.

ldap_bind() does a bind operation on the directory. bind_rdn and bind_password are optional. If not specified, anonymous bind is attempted.

Prev | Home | Next
ldap_add | Up | ldap_close