ldap_sasl_bind()
ldap_sasl_bind - Bind to LDAP directory using SASL
Syntax
bool ldap_sasl_bind (
resource $link,
string $binddn,
string $password,
string $sasl_mech,
string $sasl_realm,
string $sasl_authc_id,
string $sasl_authz_id,
string $props)
Arguments
- link - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- binddn - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- password - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- sasl_mech - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- sasl_realm - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- sasl_authc_id - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- sasl_authz_id - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
- props - If TRUE the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
Description
Version
PHP 5
Return value
Returns TRUE on success or FALSE on failure.