◆ __destruct()
◆ __sleep()
◆ __wakeup()
◆ bind()
bind |
( |
string |
$dn = null , |
|
|
string |
$password = null |
|
) |
| |
{Binds the connection against a user's DN and password.
- Exceptions
-
AlreadyExistsException | When the connection can't be created because of an LDAP_ALREADY_EXISTS error |
ConnectionTimeoutException | When the connection can't be created because of an LDAP_TIMEOUT error |
InvalidCredentialsException | When the connection can't be created because of an LDAP_INVALID_CREDENTIALS error |
}
- Paramètres
-
string | $password | WARNING: When the LDAP server allows unauthenticated binds, a blank $password will always be valid |
Implémente ConnectionInterface.
Références $password, et Connection\connect().
◆ configureOptions()
◆ connect()
◆ disconnect()
◆ getOption()
getOption |
( |
string |
$name | ) |
|
◆ getResource()
◆ isBound()
◆ setOption()
setOption |
( |
string |
$name, |
|
|
|
$value |
|
) |
| |
◆ $bound
◆ $connection
◆ LDAP_ALREADY_EXISTS
const LDAP_ALREADY_EXISTS = 0x44 |
|
private |
◆ LDAP_INVALID_CREDENTIALS
const LDAP_INVALID_CREDENTIALS = 0x31 |
|
private |
◆ LDAP_TIMEOUT
const LDAP_TIMEOUT = 0x55 |
|
private |
La documentation de cette classe a été générée à partir du fichier suivant :