| File_Passwd (Previous) | (Next) File_Passwd_Smb::File_Passwd_Smb | ||||
| |
|||||
|
|||||
path to passwd file
user to authenticate
plaintext password
encryption mode ('nt'|'lm') NTHASH or LMHASH
Returns TRUE if authenticated, FALSE if not or PEAR_Error on failure.
Tabela 39-1. Możliwe wartości PEAR_Error
| Error Code | Summary |
|---|---|
| FILE_PASSWD_E_NOT_EXISTS | passwd file doesn't exist |
| FILE_PASSWD_E_FILE_NOT_OPENED | passwd file couldn't be opened in read mode |
| FILE_PASSWD_E_FILE_NOT_LOCKED | passwd file couldn't be locked shared |
| FILE_PASSWD_E_FILE_NOT_UNLOCKED | passwd file couldn't be unlocked (only if auth fails) |
| FILE_PASSWD_E_FILE_NOT_CLOSED | passwd file couldn't be closed /only if auth fails) |
| FILE_PASSWD_E_INVALID_ENC_MODE | supplied encryption mode was invalid |
| File_Passwd (Previous) | (Next) File_Passwd_Smb::File_Passwd_Smb | ||||||||
| |
|||||||||
|
|||||||||