kadm5_init_with_password()
kadm5_init_with_password - Opens a connection to the KADM5 library
Syntax
resource kadm5_init_with_password (
string $admin_server,
string $realm,
string $principal,
string $password)
Arguments
- admin_server - The server.
- realm - Defines the authentication domain for the connection.
- principal - The principal.
- password - If password is omitted or is NULL, a random key will be generated.
Description
Opens a connection with the KADM5 library using the principal and the given password to obtain initial credentials from the admin_server.
Version
PHP PECL kadm5 >= 0.2.3
Return value
Returns a KADM5 handle on success or FALSE on failure.