Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 00:14:53 +0200
From:      Andrea Franceschini <knute@tiscalinet.it>
To:        "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Subject:   PPPD+PAM
Message-ID:  <01C48E26.85B2B740@earthquake.tsv.it>

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

I'm trying to use pppd coupled with PAM.
I'm using pppd 2.3.9 compiled with USE_PAM options ,and ,as far as i can see ,the
pppd side seem to work fine,but when i try to use the PAM side i got this:

-----
Aug 29 18:22:06 volcano pppd[1643]: rcvd [PAP AuthReq id=0x1 user="*" passwo
rd="*"]
Aug 29 18:22:06 volcano pppd[1643]: unable to resolve symbol: pam_sm_open_sessio
n
Aug 29 18:22:06 volcano pppd[1643]: unable to resolve symbol: pam_sm_close_sessi
on
Aug 29 18:22:06 volcano pppd[1643]: no modules loaded for `ppp' service
Aug 29 18:22:06 volcano pppd[1643]: PAP login failure for knute       

This is my options file
-----  
/dev/cuaa1 19200 crtscts
192.168.0.2:192.168.0.4
login
connect "/usr/bin/chat -v -f /etc/ppp/linet.chat"
debug
auth
require-pap
name volcano
ms-dns 192.168.0.2
passive
nodetach                  

this is my pam.conf:
-----

# If the user can authenticate with S/Key, that's sufficient.
login   auth    sufficient      pam_skey.so

# Check skey.access to make sure it is OK to let the user type in
# a cleartext password.  If not, then fail right here.
login   auth    requisite       pam_cleartext_pass_ok.so

# If you want KerberosIV authentication, uncomment the next line:
#login  auth    sufficient      pam_kerberosIV.so               try_first_pass

# Traditional getpwnam() authentication.
login   auth    required        pam_unix.so                     try_first_pass
ppp     auth    required        pam_unix.so                     try_first_pass
ppp     session required        pam_unix.so                     try_first_pass
-------
and this my pap-secrets:
-------
knute   volcano ""              * 
-------

Where i'm wrong?
Plese help!

Bye!
                         


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01C48E26.85B2B740>