ldap_bind_ext
(PHP 7 >= 7.3.0, PHP 8)
ldap_bind_ext — Bind to LDAP directory
Beschreibung
LDAP\Connection
$ldap,?string
$dn = null,?string
$password = null,?array
$controls = null): LDAP\Result|false
Does the same thing as ldap_bind() but returns an LDAP\Result instance to be parsed with ldap_parse_result().
Parameter-Liste
See ldap_bind()
Rückgabewerte
Gibt eine LDAP\Result-Instanz 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.1.0 | Gibt nun eine LDAP\Result-Instanz zurück; vorher wurde eine Ressource zurückgegeben. |
| 8.0.0 |
controls ist jetzt nullable (akzeptiert den null-Wert); vorher war der Standardwert [].
|
Siehe auch
- ldap_bind() - Anmeldung an einem LDAP-Verzeichnis
- ldap_parse_result() - Extrahiert Informationen aus einem Ergebnis

