ldap_sasl_bind
(PHP 5, PHP 7, PHP 8)
ldap_sasl_bind — Bind to LDAP directory using SASL
Beschreibung
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
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Rückgabewerte
Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.
Changelog
| Version | Beschreibung |
|---|---|
| 8.1.0 |
Der Parameter ldap erwartet nun eine LDAP\Connection-Instanz; vorher wurde eine Ressource
erwartet.
|
| 8.0.0 |
dn, 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-saslis used when configuring PHP otherwise this function will be undefined.

