Damien Miller | b38eff8 | 2000-04-01 11:09:21 +1000 | [diff] [blame] | 1 | #ifndef AUTH_H |
| 2 | #define AUTH_H |
| 3 | |
| 4 | void do_authentication(void); |
Damien Miller | efb4afe | 2000-04-12 18:45:05 +1000 | [diff] [blame] | 5 | void do_authentication2(void); |
| 6 | |
| 7 | struct passwd * |
| 8 | auth_get_user(void); |
Damien Miller | b38eff8 | 2000-04-01 11:09:21 +1000 | [diff] [blame] | 9 | |
Damien Miller | eba71ba | 2000-04-29 23:57:08 +1000 | [diff] [blame] | 10 | int allowed_user(struct passwd * pw);; |
| 11 | |
| 12 | #define AUTH_FAIL_MAX 6 |
| 13 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) |
| 14 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" |
| 15 | |
Damien Miller | b38eff8 | 2000-04-01 11:09:21 +1000 | [diff] [blame] | 16 | #endif |
Damien Miller | eba71ba | 2000-04-29 23:57:08 +1000 | [diff] [blame] | 17 | |