diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
commit | a04a10f8915401e0ac20dce0ade6c5b6e1bb13da (patch) | |
tree | 772b9de8852fb4c32957c00639a4fd5460f8a62b /crypto/openssh/auth.h | |
parent | a8f6863aa612ce6941e7bad9cf809a8d0608a7ca (diff) | |
download | src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.tar.gz src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.zip |
Notes
Diffstat (limited to 'crypto/openssh/auth.h')
-rw-r--r-- | crypto/openssh/auth.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/openssh/auth.h b/crypto/openssh/auth.h new file mode 100644 index 000000000000..72126e0992d9 --- /dev/null +++ b/crypto/openssh/auth.h @@ -0,0 +1,17 @@ +#ifndef AUTH_H +#define AUTH_H + +void do_authentication(void); +void do_authentication2(void); + +struct passwd * +auth_get_user(void); + +int allowed_user(struct passwd * pw);; + +#define AUTH_FAIL_MAX 6 +#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) +#define AUTH_FAIL_MSG "Too many authentication failures for %.100s" + +#endif + |