diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-02 22:51:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-02 22:51:17 +1000 |
commit | 1a0c0b96219b037865d624079a81ab7d88bbccc1 (patch) | |
tree | ad24303a17d1f49c98b66d5bfe014103019411af /monitor_wrap.c | |
parent | 55c47edc81accd3118fc0fda2c37765631c0aef0 (diff) |
- markus@cvs.openbsd.org 2003/08/28 12:54:34
[auth-krb5.c auth.h auth1.c monitor.c monitor.h monitor_wrap.c]
[monitor_wrap.h readconf.c servconf.c session.c ssh_config.5]
[sshconnect1.c sshd.c sshd_config sshd_config.5]
remove kerberos support from ssh1, since it has been replaced with GSSAPI;
but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ...
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index 82649a7cc..4034d569c 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: monitor_wrap.c,v 1.30 2003/08/24 17:36:52 deraadt Exp $"); | 28 | RCSID("$OpenBSD: monitor_wrap.c,v 1.31 2003/08/28 12:54:34 markus Exp $"); |
29 | 29 | ||
30 | #include <openssl/bn.h> | 30 | #include <openssl/bn.h> |
31 | #include <openssl/dh.h> | 31 | #include <openssl/dh.h> |
@@ -1071,41 +1071,6 @@ mm_auth_rsa_verify_response(Key *key, BIGNUM *p, u_char response[16]) | |||
1071 | return (success); | 1071 | return (success); |
1072 | } | 1072 | } |
1073 | 1073 | ||
1074 | #ifdef KRB5 | ||
1075 | int | ||
1076 | mm_auth_krb5(void *ctx, void *argp, char **userp, void *resp) | ||
1077 | { | ||
1078 | krb5_data *tkt, *reply; | ||
1079 | Buffer m; | ||
1080 | int success; | ||
1081 | |||
1082 | debug3("%s entering", __func__); | ||
1083 | tkt = (krb5_data *) argp; | ||
1084 | reply = (krb5_data *) resp; | ||
1085 | |||
1086 | buffer_init(&m); | ||
1087 | buffer_put_string(&m, tkt->data, tkt->length); | ||
1088 | |||
1089 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_KRB5, &m); | ||
1090 | mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_KRB5, &m); | ||
1091 | |||
1092 | success = buffer_get_int(&m); | ||
1093 | if (success) { | ||
1094 | u_int len; | ||
1095 | |||
1096 | *userp = buffer_get_string(&m, NULL); | ||
1097 | reply->data = buffer_get_string(&m, &len); | ||
1098 | reply->length = len; | ||
1099 | } else { | ||
1100 | memset(reply, 0, sizeof(*reply)); | ||
1101 | *userp = NULL; | ||
1102 | } | ||
1103 | |||
1104 | buffer_free(&m); | ||
1105 | return (success); | ||
1106 | } | ||
1107 | #endif /* KRB5 */ | ||
1108 | |||
1109 | #ifdef GSSAPI | 1074 | #ifdef GSSAPI |
1110 | OM_uint32 | 1075 | OM_uint32 |
1111 | mm_ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) | 1076 | mm_ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) |