Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 10:55:17 -0400 (EDT)
From:      Robert Watson <robert@fledge.watson.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/54097: Non-local yppasswd -d broken in 5.1-CURRENT
Message-ID:  <200307041455.h64EtHn6034817@fledge.watson.org>
Resent-Message-ID: <200307041500.h64F0XsQ058841@freefall.freebsd.org>

index | next in thread | raw e-mail


>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:


help

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