From knarf@nasim.cube.net  Thu Jun 15 02:02:34 1995
Received: from cublx1.cube.net (root@cublx1.cube.net [194.97.64.60])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA00852
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jun 1995 02:02:32 -0700
Received: from ivanhoe.nasim.cube.net by cublx1.cube.net with esmtp
	(Smail3.1.29.1 #2) id m0sM0iR-0002iQC; Thu, 15 Jun 95 00:15 MET DST
Received: (knarf@localhost) by ivanhoe.nasim.cube.net (8.6.11/8.6.12) id AAA07374; Thu, 15 Jun 1995 00:15:12 +0200
Message-Id: <199506142215.AAA07374@ivanhoe.nasim.cube.net>
Date: Thu, 15 Jun 1995 00:15:12 +0200
From: knarf@nasim.cube.net
Reply-To: knarf@nasim.cube.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: passwd asks YP-Server for unknown user
X-Send-Pr-Version: 3.2

>Number:         518
>Category:       bin
>Synopsis:       passwd asks YP-Server for unknown user
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 02:10:01 1995
>Closed-Date:    Thu Jun 15 20:33:48 PDT 1995
>Last-Modified:
>Originator:     Frank Bartels
>Release:        FreeBSD 2.0-BUILT-19950527 i386
>Organization:
    Frank Bartels    |    UUCP/ZModem/Fax: + 49 89 5469593     | MiNT is
knarf@nasim.cube.net | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!
>Environment:

2.0.5-ALPHA, also 2.0.5-RELEASE, no YP configured.

>Description:

When I try to change the passwd for an nonexistant user, I get:

ivanhoe:/root# passwd foobar
yppasswd: can't find the master ypserver: Request arguments bad

With 2.0-RELEASE I get the correct message:

sogand:/root# passwd foobar
passwd: unknown user foobar

>How-To-Repeat:

passwd foobar

>Fix:

Setup an YP server? ;)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wpaul 
State-Changed-When: Thu Jun 15 20:33:48 PDT 1995 
State-Changed-Why:  
Fixed in revision 1.4 of /usr/src/usr.bin/passwd.c. We now check to see 
if NIS is actually enabled (by looking for +::::::::: or similar in the 
password database) and don't transform into yppasswd if it isn't. 
>Unformatted:



