Php/docs/function.ldap-sasl-bind

提供:Dev Guides
< Php
移動先:案内検索

ldap_sasl_bind

(PHP 5, PHP 7)

ldap_sasl_bindSASL を使用して LDAP ディレクトリにバインドする


説明

ldap_sasl_bind ( resource $ldap [, string|null $dn = null [, string|null $password = null [, string|null $mech = null [, string|null $realm = null [, string|null $authc_id = null [, string|null $authz_id = null [, string|null $props = null ]]]]]]] ) : bool

警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。


返り値

成功した場合に true を、失敗した場合に false を返します。


変更履歴

バージョン 説明
8.0.0 dn, password, mech,

realm, authc_id, authz_id, props は、nullable になりました。


注意

注意:

前提条件 ldap_sasl_bind() は SASL サポート(sasl.h)を必要とします。PHP の configure 時に --with-ldap-sasl が指定されている ことを確認してください。さもないとこの関数は未定義となります。