ldap_unbind

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

ldap_unbindLöst die Bindung zu einem LDAP-Verzeichnis

Beschreibung

ldap_unbind ( resource $ldap ) : bool

Löst die Bindung zu einem LDAP-Verzeichnis.

Parameter-Liste

ldap

Eine LDAP-Verbindungskennung, geliefert von ldap_connect().

Rückgabewerte

Gibt bei Erfolg true zurück. Im Fehlerfall wird false zurückgegeben.

Siehe auch

  • ldap_bind() - Anmeldung an einem LDAP-Verzeichnis (LDAP Bind)

add a note add a note

User Contributed Notes 1 note

up
23
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