pap: WARNING: Authentication will fail unless a "known good" password is available

Alan DeKok aland at deployingradius.com
Fri Oct 12 12:42:17 CEST 2018


On Oct 12, 2018, at 6:38 AM, ahmet erkol <ahmeterkol at gmail.com> wrote:
> I installed freeradius 3.0.16 with mysql. But i have an error and warning
> like this.
> 
> (0) pap: WARNING: No "known good" password found for the user.  Not setting
> Auth-Type
> (0) pap: WARNING: Authentication will fail unless a "known good" password
> is available
> 
> (0) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type =
> Reject
> 
> I couldn't find a solution.

  You have to set the "known good password" for the user.

> This is the mysql radcheck table,
> 
> mysql> select * from radcheck;
> +----+----------+--------------------+----+--------+
> | id | username | attribute          | op | value  |
> +----+----------+--------------------+----+--------+
> |  8 | ahmet   | User-Password | := | 123456 |
> +----+----------+--------------------+----+--------+

  No, that's not correct.  You have to set Cleartext-Password.  All of the documentation and examples say to do this.

  If you found something that says to use User-Password, then:

a) that documentation is 10+ years old

b) it's written by some third party who has nothing to do with FreeRADIUS

  Alan DeKok.




More information about the Freeradius-Users mailing list