From owner-freebsd-bugs Sat Oct 19 9: 0:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC3337B401 for ; Sat, 19 Oct 2002 09:00:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC2B843E7B for ; Sat, 19 Oct 2002 09:00:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9JG0Bx3050137 for ; Sat, 19 Oct 2002 09:00:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9JG0BLr050136; Sat, 19 Oct 2002 09:00:11 -0700 (PDT) Date: Sat, 19 Oct 2002 09:00:11 -0700 (PDT) Message-Id: <200210191600.g9JG0BLr050136@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dan Pelleg Subject: Re: bin/43582: passwd(1) fails on nonexistent users Reply-To: Dan Pelleg Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43582; it has been noted by GNATS. From: Dan Pelleg To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/43582: passwd(1) fails on nonexistent users Date: Sat, 19 Oct 2002 11:50:58 -0400 I'd have loved to post a patch, but my library debugging skills are not up to it. FWIW, the best I could come up with is that the getpwnam call in line 201 of src/usr.bin/passwd/local_passwd.c does not seem to fail, but rather returns a passwd struct with empty pw_name and zero pw_uid. I wasn't able to track down any deeper, except for realizing the problem is probably "somewhere in _getyppass". System is compiled with YP and KERBEROS. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message