From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 4 08:00:35 2003 Return-Path: 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 66C5D37B404 for ; Fri, 4 Jul 2003 08:00:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F22A44014 for ; Fri, 4 Jul 2003 08:00:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h64F0XUp058842 for ; Fri, 4 Jul 2003 08:00:33 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h64F0XsQ058841; Fri, 4 Jul 2003 08:00:33 -0700 (PDT) Resent-Date: Fri, 4 Jul 2003 08:00:33 -0700 (PDT) Resent-Message-Id: <200307041500.h64F0XsQ058841@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Watson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B96737B401 for ; Fri, 4 Jul 2003 07:55:21 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6801643F85 for ; Fri, 4 Jul 2003 07:55:20 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h64EtHKJ034818 for ; Fri, 4 Jul 2003 10:55:17 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: (from robert@localhost) by fledge.watson.org (8.12.9/8.12.9/Submit) id h64EtHn6034817; Fri, 4 Jul 2003 10:55:17 -0400 (EDT) (envelope-from robert) Message-Id: <200307041455.h64EtHn6034817@fledge.watson.org> Date: Fri, 4 Jul 2003 10:55:17 -0400 (EDT) From: Robert Watson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/54097: Non-local yppasswd -d broken in 5.1-CURRENT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Robert Watson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 15:00:35 -0000 >Number: 54097 >Category: bin >Synopsis: Non-local yppasswd -d broken in 5.1-CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 04 08:00:33 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Robert Watson >Release: FreeBSD 5.1-CURRENT i386 >Organization: FreeBSD Project >Environment: System: FreeBSD fledge.watson.org 4.8-RC FreeBSD 4.8-RC #3: Sat May 10 17:25:03 EDT 2003 root@:/home/data/obj/home/data/fbsd-stable/src/sys/FLEDGE i386 FreeBSD paprika 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jul 3 19:43:36 EDT 2003 rwatson@paprika:/usr/obj/usr/src/sys/PAPRIKAMAC i386 >Description: The yppasswd command supports command the ability to override the local YP/NIS configuration to permit password changes for non-local NIS domains. This is done using arguments that allow you to specify the domain name and server name on the yppasswd command line. In -STABLE, this works properly; in -CURRENT, yppasswd incorrectly requires that the user exist locally in order to change the remote password. >How-To-Repeat: -CURRENT: paprika# yppasswd -y -d boltsys.com -h artemis.boltsys.com robert yppasswd: robert: no such user -STABLE: pemaquid:~> yppasswd -y -d boltsys.com -h artemis.boltsys.com robert Changing NIS password for robert on artemis.boltsys.com. Old Password: >Fix: Sounds like we need special-case handling of the non-local NIS password changing path in -CURRENT to avoid the local user check. This should be keyed on the use of the "-d" argument. >Release-Note: >Audit-Trail: >Unformatted: