|
I'm trying to get FreeRadius working with MySQL authentication and pretty much have it going with one minor issue. When a user who is not in my authentication database tries to connect FreeRadius does not appear to send back a rejection. It seems to not respond at all causing the client to repeat the request and eventually timeout. When I submit a valid request I get the following (Note: passwords and secrets changed
for security)
------------------------- echo "User-Name = testuser, User-Password = XXXXXXXX" | ./radclient 127.0.0.1 auth YYYYYY Received response ID 71, code 2, length = 68 Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 255.255.255.254 Framed-IP-Netmask = 255.255.255.255 Framed-Routing = None Framed-MTU = 1500 Ascend-Idle-Limit = 1200 ------------------ If I submit a request with an invalid user I get (Note: passwords and secrets changed
for security)
--------------------------- echo "User-Name = testuser, User-Password = XXXBADPASSXXX" | ./radclient 127.0.0.1 auth YYYYYY radclient: no response from server -------------------------- running the server with ./radiusd -xxyz -l stdout I see a section that comes back like rlm_sql: User DEFAULT not found and DEFAULT not found rlm_sql: Released sql socket id: 4 modcall[authorize]: module "sql" returns notfound modcall[authorize]: module "suffix" returns ok modcall: group authorize returns ok auth: No Auth-Type configuration for the request, rejecting the user auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Do I have to have a DEFAULT user or DEFAULT group in my MySQL database? It works fine if I only use the userfile for authentication. Any help would be appreciated. Thanks in advance Kelvin |
- rlm_sql: Times out unstead of rejecting user Kelvin Hockin
- Re: rlm_sql: Times out unstead of rejecting user Alan DeKok
- Echo FreeRadius
