File_SMBPasswd::verifyAccountEncrypted()

File_SMBPasswd::verifyAccountEncrypted()

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

Description

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

  • string $user - username to be verified

  • string $nthash - the NT-Hash

  • string $lmhash - the LM-Hash

Return value

mixed - Returns TRUE on success, FALSE on failure.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.