summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/session.c b/session.c
index 6ba0233e5..351b40c13 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.161 2003/08/22 10:56:09 markus Exp $"); 36RCSID("$OpenBSD: session.c,v 1.162 2003/08/28 12:54:34 markus Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -332,30 +332,6 @@ do_authenticated1(Authctxt *authctxt)
332 success = 1; 332 success = 1;
333 break; 333 break;
334 334
335#ifdef KRB5
336 case SSH_CMSG_HAVE_KERBEROS_TGT:
337 if (!options.kerberos_tgt_passing) {
338 verbose("Kerberos TGT passing disabled.");
339 } else {
340 char *kdata = packet_get_string(&dlen);
341 packet_check_eom();
342
343 /* XXX - 0x41, used for AFS */
344 if (kdata[0] != 0x41) {
345 krb5_data tgt;
346 tgt.data = kdata;
347 tgt.length = dlen;
348
349 if (auth_krb5_tgt(s->authctxt, &tgt))
350 success = 1;
351 else
352 verbose("Kerberos v5 TGT refused for %.100s", s->authctxt->user);
353 }
354 xfree(kdata);
355 }
356 break;
357#endif
358
359 case SSH_CMSG_EXEC_SHELL: 335 case SSH_CMSG_EXEC_SHELL:
360 case SSH_CMSG_EXEC_CMD: 336 case SSH_CMSG_EXEC_CMD:
361 if (type == SSH_CMSG_EXEC_CMD) { 337 if (type == SSH_CMSG_EXEC_CMD) {