ldap_bind_ext
(PHP 7 >= 7.3.0)
ldap_bind_ext — Bind to LDAP directory
Description
ldap_bind_ext ( resource $ldap [, string|null $dn = null [, string|null $password = null [, array|null $controls = null ]]] ) : resource|false
Does the same thing as ldap_bind() but returns the LDAP result resource to be parsed with ldap_parse_result().
Parameters
See ldap_bind()
Return Values
Returns an LDAP result identifier or false
on error.
Changelog
Version | Description |
---|---|
8.0.0 | controls is nullable now; previously, it defaulted to [] . |
See Also
- ldap_bind() - Bind to LDAP directory
- ldap_parse_result() - Extract information from result
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.ldap-bind-ext.php