File_SMBPasswd::modAccountEncrypted()

File_SMBPasswd::modAccountEncrypted() -- modify an existing account with the given encrypted password.

Synopsis

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

Beschreibung

Modifies an existing account using pre-encrypted passwords.

Parameter

Rückgabewert

mixed - Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

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

Siehe auch

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

Beispiel