PAP Authentication User-Password not working properly

Ivan Kalik tnt at kalik.net
Fri May 9 23:59:02 CEST 2008


>
>mysql> select  * from radcheck
>    -> ;
>+----+-------------+----------------+----+---------------+
>| id | username    | attribute      | op | value         |
>+----+-------------+----------------+----+---------------+
>|  1 | Chapsqluser | User-Password  | == | chapsecret    |
>|  2 | Chapsqluser | Auth-Type      | := | Local         |
>|  3 | Papsqluser  | Crypt-Password | == | /gTPHauHkNjWE |
>|  4 | Papsqluser  | Auth-Type      | := | Crypt-Local   |
>+----+-------------+----------------+----+---------------+
>4 rows in set (0.00 sec)
>

Don't force Auth-Type. Remove Auth-Type Crypt-Local from the database
entry. Let pap module sort it out. And entry for Chapsqluser is also
wrong. Remove Auth-Type, replace password attribute with
Cleartext-Password and op with :=. Server documentation clearly states:

- don't use Auth-Type

- use Cleartext-Password (not User-Password) for clear text passwords.

Ivan Kalik
Kalik Inormatika ISP




More information about the Freeradius-Users mailing list