CakeFest 2024: The Official CakePHP Conference

ldap_bind_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_bind_extBind to LDAP directory

Beschreibung

ldap_bind_ext(
    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 gültige ldap link-Ressource erwartet.
8.1.0 Gibt nun eine LDAP\Result-Instanz zurück; vorher wurde eine Ressource zurückgegeben.
8.0.0 controls ist nun nullable (akzeptiert den null-Wert); vorher war der Standardwert [].

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top