ldap_sasl_bind

(PHP 5, PHP 7, PHP 8)

ldap_sasl_bindBind to LDAP directory using SASL

Beschreibung

ldap_sasl_bind(
    LDAP\Connection$ldap,
    ?string$dn = null,
    ?string$password = null,
    ?string$mech = null,
    ?string$realm = null,
    ?string$authc_id = null,
    ?string$authz_id = null,
    ?string$props = null
): bool
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Changelog

VersionBeschreibung
8.1.0 Der Parameter ldap erwartet nun eine LDAP\Connection-Instanz; vorher wurde eine gültige ldap link-Ressource erwartet.
8.0.0dn, password, mech, realm, authc_id, authz_id and props are nullable now.

Anmerkungen

Hinweis: 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.

To Top