Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 21:43:45 -0700 (PDT)
From:      joes@wstein.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/7584: pppd login fails to check /etc/passwd
Message-ID:  <199808120443.VAA18386@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         7584
>Category:       bin
>Synopsis:       pppd login fails to check /etc/passwd
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 11 21:50:00 PDT 1998
>Last-Modified:
>Originator:     Joseph Stein
>Organization:
Stein Family Internet Services
>Release:        FreeBSD 2.2.7-STABLE
>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.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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