version 1.9, 2010/10/29 05:29:50
|
version 1.9.2.1, 2013/07/20 18:32:39
|
|
|
file). | file). |
@param username the name of a valid system user. | @param username the name of a valid system user. |
@param password the clear text password for the given user. | @param password the clear text password for the given user. |
@return 0=success, -1=failure |
@return 0=success, -1=failure, >0 = PAM return code |
*/ | */ |
static int authenticatePassword( | static int authenticatePassword( |
const char* username, | const char* username, |
|
|
/** Check whether the given user is valid for the underlying authentcation | /** Check whether the given user is valid for the underlying authentcation |
mechanism. | mechanism. |
@param username the name of the user. | @param username the name of the user. |
@return 0=success, -1=failure |
@return 0=success, -1=failure, >0 = PAM return code |
*/ | */ |
static int validateUser( | static int validateUser( |
const char* username); | const char* username); |