mixed File_Passwd_Smb::verifyPasswd (
string $user
, string $pass
)
Verifies an account with the given plaintext password.
$user
username
$pass
the plaintext password
Returns TRUE if passwds equal, FALSE if they don't or PEAR_Error on failure.
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | user doesn't exist |
FILE_PASSWD_E_UNDEFINED | if account is disabled |
This function can not be called statically.