summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-14 13:47:37 +1000
committerDamien Miller <djm@mindrot.org>2003-05-14 13:47:37 +1000
commit3ab496b3dd961423bc5e312fd5dbbef975f4d238 (patch)
treece75ad4df1cb1b5489d3fea1fdac5b3e13496aa8 /auth2.c
parentfb7508edc8db9b5f445170237ec666beb3a3f6ac (diff)
downloadopenssh-git-3ab496b3dd961423bc5e312fd5dbbef975f4d238.tar.gz
- markus@cvs.openbsd.org 2003/05/14 02:15:47
[auth2.c monitor.c sshconnect2.c auth2-krb5.c] implement kerberos over ssh2 ("kerberos-2@ssh.com"); tested with jakob@ server interops with commercial client; ok jakob@ djm@
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index b2f14bac..03d170e2 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.97 2003/04/08 20:21:28 itojun Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.98 2003/05/14 02:15:47 markus Exp $");
#include "ssh2.h"
#include "xmalloc.h"
@@ -50,6 +50,9 @@ extern Authmethod method_pubkey;
extern Authmethod method_passwd;
extern Authmethod method_kbdint;
extern Authmethod method_hostbased;
+#ifdef KRB5
+extern Authmethod method_kerberos;
+#endif
Authmethod *authmethods[] = {
&method_none,
@@ -57,6 +60,9 @@ Authmethod *authmethods[] = {
&method_passwd,
&method_kbdint,
&method_hostbased,
+#ifdef KRB5
+ &method_kerberos,
+#endif
NULL
};