Error setting up Freeradius

Fajar A. Nugraha list at fajar.net
Sun Nov 22 14:21:15 CET 2015


On Sat, Nov 21, 2015 at 11:49 PM, Roger Kidd <roger.kidd at gmail.com> wrote:

> Hi Alan -
>
> I have gone tot he debug section and I can see where say rejects. I just
> don't know what it means.
>

Reading out the WARNINGs and ERRORs also help. I copied two snippets here:

[sql] expand: SELECT id, username, attribute, value, op           FROM
radcheck           WHERE username = '%{SQL-User-Name}'           ORDER BY
id -> SELECT id, username, attribute, value, op           FROM radcheck
      WHERE username = 'Roger'           ORDER BY id
WARNING: Found User-Password *==* "...".
WARNING: Are you sure you don't mean Cleartext-Password?
WARNING: See "man rlm_pap" for more information.

,,,

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!    Replacing User-Password in config items with Cleartext-Password.
!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Please update your configuration so that the "known good"
!!!
!!! clear text password is in Cleartext-Password, and not in User-Password.
!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Have you read those?

Here's a hint: focus on "==" and "Cleartext-Password". If you don't know
what the correct entries in your db should be, read the links that Alan
send. Users file and db share a lot of things in common, including
attribute names and operators.

Or even better, follow the "getting started" document. It should help you
by starting from a simple configuration, and doing small incremental
changes, instead of trying to go directly with a complex setup and ended up
with absolutely no clue about what's going on.

-- 
Fajar

>


More information about the Freeradius-Users mailing list