mixed File_Passwd_Smb::verifyEncryptedPasswd (
string $user
, string $nthash
, string $lmhash = ''
)
Vérifie le mot de passe crypté d'un utilisateur/machine.
Nous préférons NT-Hash au lieu de LAN-Manager-Hash.
utilisateur
NT-Hash en hex
LAN-Manager-Hash en hex
Retourne TRUE si les mots de passe sont égaux, FALSE sinon ou un objet PEAR_Error en cas d'échec.
Code erreur | Signification |
---|---|
FILE_PASSWD_E_EXISTS_NOT | l'utilisateur n'existe pas |
FILE_PASSWD_E_UNDEFINED | si le compte est désactivé |
This function can not be called statically.