|
Lines 41-46
Link Here
|
| 41 |
int debug = 0; |
41 |
int debug = 0; |
| 42 |
int try_first_pass = 0, use_first_pass = 0; |
42 |
int try_first_pass = 0, use_first_pass = 0; |
| 43 |
|
43 |
|
|
|
44 |
if (flags & PAM_PRELIM_CHECK) { |
| 45 |
// This is cheap, we just say, uh...yeah, we're good to go... |
| 46 |
// This should probably make sure we can talk to the KDC or whatever. |
| 47 |
return PAM_SUCCESS; |
| 48 |
} |
| 49 |
|
| 44 |
if (!(flags & PAM_UPDATE_AUTHTOK)) |
50 |
if (!(flags & PAM_UPDATE_AUTHTOK)) |
| 45 |
return PAM_AUTHTOK_ERR; |
51 |
return PAM_AUTHTOK_ERR; |
| 46 |
|
52 |
|