CakeFest 2024: The Official CakePHP Conference

ldap_unbind

(PHP 4, PHP 5, PHP 7, PHP 8)

ldap_unbindDesenlazar de directorio LDAP

Descripción

ldap_unbind(resource $link_identifier): bool

Desenlace de directorio LDAP.

Parámetros

link_identifier

Un identificador de enlace LDAP, devuelto por ldap_connect().

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Ver también

  • ldap_bind() - Realiza la autenticación con un servidor LDAP

add a note

User Contributed Notes 1 note

up
25
kmenard at wpi dot edu
22 years ago
ldap_unbind kills the link descriptor. So, if you want to rebind as another user, just bind again; don't unbind. Otherwise, you'll have to open up a new connection.
To Top