array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.ldap-sasl-bind.php', 1 => 'ldap_sasl_bind', ), 'up' => array ( 0 => 'ref.ldap.php', 1 => 'LDAP 函数', ), 'prev' => array ( 0 => 'function.ldap-rename.php', 1 => 'ldap_rename', ), 'next' => array ( 0 => 'function.ldap-search.php', 1 => 'ldap_search', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/functions/ldap-sasl-bind.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
ldap_sasl_bind — Bind to LDAP directory using SASL
$ldap
,$dn
= null
,$password
= null
,$mech
= null
,$realm
= null
,$authc_id
= null
,$authz_id
= null
,$props
= null
本函数还未编写文档,仅有参数列表。
版本 | 说明 |
---|---|
8.1.0 |
现在 ldap 参数接受 LDAP\Connection
实例,之前接受有效的 ldap link resource。
|
8.0.0 |
dn , password , mech ,
realm , authc_id , authz_id
and props are nullable now.
|
注意: Requirement
ldap_sasl_bind() requires SASL support (sasl.h). Be sure--with-ldap-sasl
is used when configuring PHP otherwise this function will be undefined.