« ldap_rename_ext
ldap_search »

ldap_sasl_bind

(PHP 5, PHP 7, PHP 8)

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

説明

function ldap_sasl_bind(
    LDAP\Connection $ldap,
    ?string $dn = null,
    #[\SensitiveParameter] ?string $password = null,
    ?string $mech = null,
    ?string $realm = null,
    ?string $authc_id = null,
    ?string $authz_id = null,
    ?string $props = null
): bool
警告

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

戻り値

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

変更履歴

バージョン 説明
8.1.0 引数 ldap は、LDAP\Connection クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な ldap link resource を期待していました。
8.0.0 dn, password, mech, realm, authc_id, authz_id, props は、nullable になりました。

注意

注意: 前提条件

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

関連キーワード:
ldap   sasl   bind   バインド   Connection   password   mech   realm   authc   authz   props   期待   rename   SensitiveParameter   詳細   記述   成功   履歴   インスタンス   link   resource   nullable   前提条件   サポート   configure
関連する関数・ページ:
function.ldap-bind-ext   function.ldap-unbind   function.ldap-t61-to-8859   function.ldap-8859-to-t61   function.ldap-count-references   function.ldap-rename-ext