File_SMBPasswd::modAccountEncrypted()

File_SMBPasswd::modAccountEncrypted() -- modify an exsting account with the given plaintext-password.

Synopsis

mixed File_SMBPasswd::modAccountEncrypted (string $user, int $userid [, string $nthash = '' [, string $lmhash = '' [, string $comment = '' [, string $flags = '']]]])

Description

Modifies an existing account using pre-encrypted passwords.

Parameter

Return value

mixed - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Note that the user to be added must already exist in the system password file.

See

File_SMBPasswd::addAccount()
File_SMBPasswd::modAccount()
File_SMBPasswd::modUser()

Example