If I want to use MySQL to store the user information, and do not want to
use the 'users' file, I am thinking about using the following configuration.
Since there is no authentication in SQL module, I can only use pap, chap or
unix, etc. right?
authorize
{
preprocess
sql
counter
}
authenticate
{
authtype PAP
{
pap
}
}
accounting
{
acct_unique
detail
sql
counter <----- Do I need this at all?
}
session
{
sql
}
>From what I understand is that the access request packet will go through the
authorize module first.
SQL can handle that by looking up the User-Name field. Then authentication
module takes over, where
pap module does the authentication. But where does PAP find the user
password file? Does it use the
UNIX /etc/passwd file?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html