new freeradius setup
Andrew Meyer
andrewm659 at yahoo.com
Wed Oct 25 02:36:55 CEST 2017
I am running CentOS 7. I am setting up FreeRADIUS again. Documenting it step-by-step. I am only working the test user at the moment but I am getting the following error:
Tue Oct 24 19:30:28 2017 : Debug: (0) User-Name = "bob"Tue Oct 24 19:30:28 2017 : Debug: (0) User-Password = "hello"Tue Oct 24 19:30:28 2017 : Debug: (0) NAS-IP-Address = 10.150.10.40Tue Oct 24 19:30:28 2017 : Debug: (0) NAS-Port = 0Tue Oct 24 19:30:28 2017 : Debug: (0) Message-Authenticator = 0x7c0ca39b4c7952c808f3602792b02eb6Tue Oct 24 19:30:28 2017 : Debug: (0) session-state: No State attributeTue Oct 24 19:30:28 2017 : Debug: (0) Empty authorize section. Using default return values.Tue Oct 24 19:30:28 2017 : ERROR: (0) No Auth-Type found: rejecting the user via Post-Auth-Type = RejectTue Oct 24 19:30:28 2017 : Debug: (0) Failed to authenticate the userTue Oct 24 19:30:28 2017 : Auth: (0) Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject): [bob/hello] (from client localhost port 0)Tue Oct 24 19:30:28 2017 : Debug: (0) Using Post-Auth-Type RejectTue Oct 24 19:30:28 2017 : Debug: (0) Post-Auth-Type sub-section not found. Ignoring.Tue Oct 24 19:30:28 2017 : Debug: (0) Delaying response for 1.000000 secondsTue Oct 24 19:30:28 2017 : Debug: Thread 3 waiting to be assigned a requestTue Oct 24 19:30:28 2017 : Debug: Waking up in 0.6 seconds.Tue Oct 24 19:30:29 2017 : Debug: (0) Sending delayed responseTue Oct 24 19:30:29 2017 : Debug: (0) Sent Access-Reject Id 16 from 10.150.10.40:1812 to 10.150.10.40:43969 length 20Tue Oct 24 19:30:29 2017 : Debug: Waking up in 3.9 seconds.Tue Oct 24 19:30:33 2017 : Debug: (0) Cleaning up request packet ID 16 with timestamp +67Tue Oct 24 19:30:33 2017 : Info: Ready to process requests
Here is my config from /etc/raddb/users:bob Auth-Type := Accept Cleartext-Password := "hello" Reply-Message := "Hello, %{User-Name}"
I tried not using a client config and then ended up putting in the following:
client testing { ipaddr = 10.150.0.0/16 secret = testing123 }
radtest bob hello 10.150.10.40:1812 0 testing123Sent Access-Request Id 119 from 0.0.0.0:56648 to 10.150.10.40:1812 length 73 User-Name = "bob" User-Password = "hello" NAS-IP-Address = 10.150.10.40 NAS-Port = 0 Message-Authenticator = 0x00 Cleartext-Password = "hello"Received Access-Reject Id 119 from 10.150.10.40:1812 to 0.0.0.0:0 length 20(0) -: Expected Access-Accept got Access-Reject
Is there something I missed in the configuration?
Thank you,
More information about the Freeradius-Users
mailing list