From owner-freebsd-bugs Fri Mar 21 17:30:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA00363 for bugs-outgoing; Fri, 21 Mar 1997 17:30:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA00353; Fri, 21 Mar 1997 17:30:02 -0800 (PST) Resent-Date: Fri, 21 Mar 1997 17:30:02 -0800 (PST) Resent-Message-Id: <199703220130.RAA00353@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, simokawa@sat.t.u-tokyo.ac.jp Received: from uno.sat.t.u-tokyo.ac.jp (uno.sat.t.u-tokyo.ac.jp [133.11.70.160]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA29945 for ; Fri, 21 Mar 1997 17:26:23 -0800 (PST) Received: by uno.sat.t.u-tokyo.ac.jp (8.8.5/8.7.3) id KAA15556; Sat, 22 Mar 1997 10:26:17 +0900 (JST) Message-Id: <199703220126.KAA15556@uno.sat.t.u-tokyo.ac.jp> Date: Sat, 22 Mar 1997 10:26:17 +0900 (JST) From: Hidetoshi Shimokawa Reply-To: simokawa@sat.t.u-tokyo.ac.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/3056: /usr/bin/login doesn't work with kerberos Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: