File_SMBPasswd::verifyAccountEncrypted()

File_SMBPasswd::verifyAccountEncrypted() -- Verifies the given account with the given encrypted passwords.

Synopsis

mixed File_SMBPasswd::verifyAccountEncrypted (string $user, string $nthash [, string $lmhash = ''])

Beschreibung

This method verifies the given username and passwords against the entry in the loaded smbpasswd file. The given passwords must already be a valid NT-Hash or LM-Hash, whereas the LM-Hash is optional.

Parameter

Rückgabewert

mixed - Gibt bei Erfolg TRUE zurück, bei einem Fehler FALSE.

Siehe auch

File_SMBPasswd::verifyAccount()

Beispiel