summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 1f6677581..78d1e2e0c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.38 2003/04/08 20:21:28 itojun Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.39 2003/05/14 02:15:47 markus Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -182,6 +182,9 @@ struct mon_table mon_dispatch_proto20[] = {
182#endif 182#endif
183 {MONITOR_REQ_KEYALLOWED, MON_ISAUTH, mm_answer_keyallowed}, 183 {MONITOR_REQ_KEYALLOWED, MON_ISAUTH, mm_answer_keyallowed},
184 {MONITOR_REQ_KEYVERIFY, MON_AUTH, mm_answer_keyverify}, 184 {MONITOR_REQ_KEYVERIFY, MON_AUTH, mm_answer_keyverify},
185#ifdef KRB5
186 {MONITOR_REQ_KRB5, MON_ONCE|MON_AUTH, mm_answer_krb5},
187#endif
185 {0, 0, NULL} 188 {0, 0, NULL}
186}; 189};
187 190
@@ -1483,6 +1486,8 @@ mm_answer_krb5(int socket, Buffer *m)
1483 } 1486 }
1484 mm_request_send(socket, MONITOR_ANS_KRB5, m); 1487 mm_request_send(socket, MONITOR_ANS_KRB5, m);
1485 1488
1489 auth_method = "kerberos";
1490
1486 return success; 1491 return success;
1487} 1492}
1488#endif 1493#endif