MD5 auth failed

Matthew Newton mcn at freeradius.org
Wed Oct 12 10:23:12 UTC 2022


On 12/10/2022 07:27, Ihsan wrote:
> I get this error (0) pap: ERROR: MD5 digest does not match "known good" digest
> when i try to logon with name test and password testing123

You have the wrong hash for "testing123":

   $ echo -n "testing123" | md5sum
   7f2ababa423061c509f4923dd04b6cf1  -

> sudo radtest test testing123 localhost 1812 testing123
> this is inside the users :
> "test" MD5-Password :=“c1fae6c8a0fc99eef1f026f556ce1b58"

Try

   test MD5-Password := “7f2ababa423061c509f4923dd04b6cf1"

-- 
Matthew


More information about the Freeradius-Users mailing list