From owner-freebsd-hackers Thu Jun 10 10:53:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mirage.nlink.com.br (mirage.nlink.com.br [200.249.195.3]) by hub.freebsd.org (Postfix) with ESMTP id C560714D46 for ; Thu, 10 Jun 1999 10:53:51 -0700 (PDT) (envelope-from paulo@nlink.com.br) Received: from localhost (paulo@localhost) by mirage.nlink.com.br (8.9.3/8.9.1) with SMTP id OAA22913 for ; Thu, 10 Jun 1999 14:53:49 -0300 (EST) Date: Thu, 10 Jun 1999 14:53:49 -0300 (EST) From: Paulo Fragoso To: hackers@freebsd.org Subject: PAM + pppd + Radius(2) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Now I've solved modules problem with pppd. My pam.conf is this: login auth sufficient pam_skey.so login auth requisite pam_cleartext_pass_ok.so login auth required pam_unix.so try_first_pass ppp auth required pam_unix.so try_first_pass When I try use original pppd with PAP authentication it works fine. But when I use recompiled pppd (using -DUSE_PAM in Makefile), pppd returns "Authentication failure": pppd[1692]: rcvd [PAP AuthReq id=0x1 user="?????" password="********"] pppd[1692]: PAP login failure for ????? pppd[1692]: sent [PAP AuthNak id=0x1 "Authentication failure"] pppd[1692]: sent [LCP TermReq id=0x2 "Authentication failed"] pppd[1692]: rcvd [LCP TermAck id=0x2] pppd[1692]: Connection terminated, connected for 1 minutes I'm using getty with ":de#3:pp=/usr/local/etc/pwin:" and my pwin script is: /usr/sbin/pppd debug idle 1200 -detach modem crtscts netmask 255.255.255.128 auth login +pap dns1 200.249.195.3 dns2 200.249.195.5 domain nlink.com.br. I've tried radius athentication with login (pam_radius.so in pam.conf) and it works fine. But with my pppd radius and unix authentication don't work. Are there any bugs with PAM in pppd? Am I doing anything wrong? Why pppd works fine without -DUSE_PAM and when I use same pppd source compiled with -DUSE_PAM it doesn't work (without chaging the conf files)? Can anyone help me to configure (re-compile) pppd work with PAM? Thanks, Paulo Fragoso. ------ " ... Overall we've found FreeBSD to excel in performace, stability, technical support, and of course price. Two years after discovering FreeBSD, we have yet to find a reason why we switch to anything else" -David Filo, Yahoo! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message