From nobody  Tue Aug 11 21:43:45 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id VAA18386;
          Tue, 11 Aug 1998 21:43:45 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199808120443.VAA18386@hub.freebsd.org>
Date: Tue, 11 Aug 1998 21:43:45 -0700 (PDT)
From: joes@wstein.com
To: freebsd-gnats-submit@freebsd.org
Subject: pppd login fails to check /etc/passwd
X-Send-Pr-Version: www-1.0

>Number:         7584
>Category:       bin
>Synopsis:       pppd login fails to check /etc/passwd
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 11 21:50:00 PDT 1998
>Closed-Date:    Sun Aug 23 05:51:30 PDT 1998
>Last-Modified:  Sun Aug 23 05:53:11 PDT 1998
>Originator:     Joseph Stein
>Release:        FreeBSD 2.2.7-STABLE
>Organization:
Stein Family Internet Services
>Environment:
FreeBSD shasta.wstein.com 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Sat Jul 25 11:50:38 PDT 1998     root@shasta.wstein.com:/usr/src/sys/compile/SHASTA  i386
>Description:
When a user logs into a pppd server running (as of 25-Jul-1998, fwiw)
with 'login' set, that user will not be able to connect to the server;
pppd logs 'PAP authentication failed' and both sides are seeing the
correct password.
>How-To-Repeat:
Try to login to a pppd-server without attaching the following mod:
>Fix:
around line 688 (or so; I added in some debugging to find this) there is a line that reads
     if (uselogin && ret == UPAP_AUTHACK)
change the UPAP_AUTHACK to UPAP_AUTHNAK and it'll work like a charm.
you have to change your /etc/ppp/pap-secrets file though, to include the authorized IP addresses.
>Release-Note:
>Audit-Trail:

From: joes@wstein.com
To: freebsd-gnats-submit@freebsd.org, joes@wstein.com
Cc:  Subject: Re: bin/7584: pppdlogin fails to check /etc/passwd
Date: Wed, 12 Aug 1998 12:08:17 -0700 (PDT)

 One additional note; I haven't dug into this yet, but there is no wtmp logging
 now.  I will post more when I have time to dig into the code again.
 
State-Changed-From-To: open->feedback 
State-Changed-By: danny 
State-Changed-When: Fri Aug 14 07:21:29 PDT 1998 
State-Changed-Why:  
More info requested of the submitter. 
State-Changed-From-To: feedback->closed 
State-Changed-By: danny 
State-Changed-When: Sun Aug 23 05:51:30 PDT 1998 
State-Changed-Why:  
Submitter had not spotted changes in the pap-secrets config file, 
which now requires 
*	*	""	* 
instead of  
*	*	"" 
for auth login connections. 
>Unformatted:
