aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/auth.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-05-15 04:37:24 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-05-15 04:37:24 +0000
commita04a10f8915401e0ac20dce0ade6c5b6e1bb13da (patch)
tree772b9de8852fb4c32957c00639a4fd5460f8a62b /crypto/openssh/auth.h
parenta8f6863aa612ce6941e7bad9cf809a8d0608a7ca (diff)
downloadsrc-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.tar.gz
src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.zip
Notes
Diffstat (limited to 'crypto/openssh/auth.h')
-rw-r--r--crypto/openssh/auth.h17
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
+