PAM abstract newbie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all.

I want to connect pppoe+pppd with RADIUS through PAM.  Here is my
/etc/pam.d/ppp:
#%PAM-1.0
# Information for the PPPD process with the 'login' option.
auth            required        pam_nologin.so
auth            sufficient      pam_unix.so
auth            sufficient      pam_radius_auth.so debug
session         sufficient      pam_radius_auth.so debug
session         sufficient      pam_unix.so
password        sufficient      pam_radius_auth.so debug

In /etc/passwd|shadow we have user aaa, and in RADIUS -- user bbb.
User aaa normally connects, but bbb cannot.  RADIUS receives and sends
right packets.  In /var/log/syslog I found these lines:
May 23 10:37:18 cad pppd[11541]: pppd 2.4.1 started by root, uid 0
May 23 10:37:18 cad pppd[11541]: Using interface ppp0
May 23 10:37:18 cad pppd[11541]: Connect: ppp0 <--> /dev/pts/4
May 23 10:37:18 cad pppd[11541]: PAP login failure for bbb
May 23 10:37:18 cad pppd[11541]: Connection terminated.
May 23 10:37:18 cad pppoe-server[11521]: PADT: Generic-Error:
                    RP-PPPoE: System call error
May 23 10:37:18 cad pppoe[11544]: read (asyncReadFromPPP): Input/output
error

My question is PAM-ideology-specific: which values pppd can expect
from AUTH section?  IMHO pam_unix sends it, and pam_radius not --
because expected pairs not exist in RADIUS base...  I think
pam_radius_auth work correctly.

Sorry for my awful english.

-- 
With respect, Ilja.





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux