Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 1997 10:26:17 +0900 (JST)
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/3056: /usr/bin/login doesn't work with kerberos
Message-ID:  <199703220126.KAA15556@uno.sat.t.u-tokyo.ac.jp>
Resent-Message-ID: <199703220130.RAA00353@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         3056
>Category:       bin
>Synopsis:       /usr/bin/login doesn't work with kerberos
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 17:30:01 PST 1997
>Last-Modified:
>Originator:     Hidetoshi Shimokawa
>Organization:
University of Tokyo
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:

	FreeBSD-2.2-RELEASE+ with MAKE_EBONES=yes

>Description:

	login.c refuses login from vaild kerberos authenticated user.
	this bug seems to be introduced by revision 1.12.2 and
	-current also has the same bug.

>How-To-Repeat:

	make a kerberos user and login the box with the username from
	anywhere (ttyv?, telnet ...).

>Fix:
	
	apply this patch.

--- login.c.orig	Sat Mar 22 10:13:28 1997
+++ login.c	Sat Mar 22 10:13:52 1997
@@ -344,7 +344,9 @@
 			#if 0
 			continue;
 			#endif
-		} else if (pwd && !rval)
+		}
+
+		if (pwd && !rval)
 			break;
 
 		(void)printf("Login incorrect\n");

>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703220126.KAA15556>