Freeradius3 radtest with test user steve not working.

Michael Pugliese cosby7891 at gmail.com
Thu Jun 9 00:39:10 CEST 2016


I uncommented the line
steve Cleartext-Password := "testing"

and restarted the server.

In case starting the server with -XX helps:


root at home:/etc/init.d# radtest steve testing localhost:1812 0 testing123

"" localhost

Wed Jun  8 22:34:04 2016 : Debug: (1) Received Access-Request Id 199 from
127.0.0.1:54263 to 127.0.0.1:1812
length 75

Wed Jun  8 22:34:04 2016 : Debug: (1)   User-Name = "steve"

Wed Jun  8 22:34:04 2016 : Debug: (1)   User-Password = "testing"

Wed Jun  8 22:34:04 2016 : Debug: (1)   NAS-IP-Address = 127.0.0.1

Wed Jun  8 22:34:04 2016 : Debug: (1)   NAS-Port = 0

Wed Jun  8 22:34:04 2016 : Debug: (1)   Message-Authenticator =
0x347dedbfb5c5f174e9c446a7d8bd82b0
Wed Jun  8 22:34:04 2016 : Debug: (1) session-state: No State attribute

Wed Jun  8 22:34:04 2016 : Debug: (1) Empty authorize section.  Using
default return values.
Wed Jun  8 22:34:04 2016 : ERROR: (1) No Auth-Type found: rejecting the
user via Post-Auth-Type = Reject
Wed Jun  8 22:34:04 2016 : Debug: (1) Failed to authenticate the user

Wed Jun  8 22:34:04 2016 : Debug: (1) Using Post-Auth-Type Reject

Wed Jun  8 22:34:04 2016 : Debug: (1) Post-Auth-Type sub-section not
found.  Ignoring.
Wed Jun  8 22:34:04 2016 : Debug: (1) Delaying response for 1.000000
seconds
Wed Jun  8 22:34:04 2016 : Debug: Waking up in 0.3 seconds.

Sent Access-Request Id 199 from 0.0.0.0:54263 to 127.0.0.1:1812 length 75

        User-Name = "steve"

        User-Password = "testing"

        NAS-IP-Address = 127.0.0.1

        NAS-Port = 0

        Message-Authenticator = 0x00

        Cleartext-Password = "testing"

Wed Jun  8 22:34:05 2016 : Debug: Waking up in 0.6 seconds.

Wed Jun  8 22:34:05 2016 : Debug: (1) Sending delayed response

Wed Jun  8 22:34:05 2016 : Debug: (1) Sent Access-Reject Id 199 from
127.0.0.1:1812 to 127.0.0.1:54263 lengt
h 20

Wed Jun  8 22:34:05 2016 : Debug: Waking up in 3.9 seconds.

Received Access-Reject Id 199 from 127.0.0.1:1812 to 0.0.0.0:0 length 20

(0) -: Expected Access-Accept got Access-Reject


On Tue, Jun 7, 2016 at 5:58 PM, Alan Buxey <A.L.M.Buxey at lboro.ac.uk> wrote:

> You did stick
>
>
> steve Cleartext-Password := "testing"
>
> at the beginning of the users file and then restart the server, yes?
>
> alan


More information about the Freeradius-Users mailing list