blob: 72126e0992d9bb5834e07c233ac322dafec32429 [file] [log] [blame]
Damien Millerb38eff82000-04-01 11:09:21 +10001#ifndef AUTH_H
2#define AUTH_H
3
4void do_authentication(void);
Damien Millerefb4afe2000-04-12 18:45:05 +10005void do_authentication2(void);
6
7struct passwd *
8auth_get_user(void);
Damien Millerb38eff82000-04-01 11:09:21 +10009
Damien Millereba71ba2000-04-29 23:57:08 +100010int 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 Millerb38eff82000-04-01 11:09:21 +100016#endif
Damien Millereba71ba2000-04-29 23:57:08 +100017