232 |
/* |
/* |
233 |
* Authentication results |
* Authentication results |
234 |
*/ |
*/ |
235 |
#define AUTH_OK 0 /* OK */ |
enum auth_status { |
236 |
#define AUTH_FAIL 1 /* Password fail */ |
auth_ok, /* Authentication passed */ |
237 |
#define AUTH_NOUSER 2 /* No such user */ |
auth_valid, /* Authentication passed, expiration timeout |
238 |
#define AUTH_REJECT 3 /* Rejected */ |
is returned */ |
239 |
#define AUTH_IGNORE 4 /* Silently ignore */ |
auth_account_expired, /* Account has expired */ |
240 |
|
auth_password_expired,/* Password has expired */ |
241 |
|
auth_fail, |
242 |
|
auth_nouser, |
243 |
|
auth_reject, |
244 |
|
auth_ignore, |
245 |
|
}; |
246 |
|
|
247 |
/* Logging modes */ |
/* Logging modes */ |
248 |
#define RLOG_AUTH 0x0001 |
#define RLOG_AUTH 0x0001 |