Hi, I try to configure dynamic clients on FR2.1.8. I use as good as default configuration in my testing. Somehow it always looks at FreeRADIUS-Client-Virtual-Server = "something" even the dynamic_client_server is defined in client dynamic. As I understand it right, it shouldn't look at that directive as long as dynamic_client_server is defined in client dynamic On the other hand debugs shows the nas (192.168.2.47) was added. # Define a network where clients may be dynamically defined. client dynamic { ipaddr = 192.168.2.0 netmask = 24 dynamic_clients = dynamic_client_server lifetime = 86400 } configuration of dynamic_client_server is default, so untouched. I 'm sure I'm doing something wrong, but have no idea, any pointers? thx Ready to process requests. rad_recv: Access-Request packet from host 192.168.2.47 port 2056, id=29, length=310 server dynamic_client_server { rlm_sql (sql): Reserving sql socket id: 4 rlm_sql (sql): Released sql socket id: 4 } # server dynamic_client_server - Added client 192.168.2.47 with shared secret testing123 rad_recv: Access-Request packet from host 192.168.2.47 port 2056, id=29, length=310 ChilliSpot-Version = "1.0.13-svn" User-Name = "test" User-Password = "test" NAS-IP-Address = 192.168.2.47 Service-Type = Login-User Framed-IP-Address = 10.0.1.1 Calling-Station-Id = "1C-4B-D6-6E-EB-83" Called-Station-Id = "00-1C-10-91-5A-11" NAS-Identifier = "siTEST" Acct-Session-Id = "4e22be2d00000001" NAS-Port-Type = Wireless-802.11 NAS-Port = 1 WISPr-Location-ID = "isocc=,cc=,ac=,network=SI,SI" WISPr-Location-Name = "SI_Hotspot" WISPr-Logoff-URL = "http://10.0.0.1:3660/logoff" Message-Authenticator = 0x2ccd7c5de5d37864d350617fc6d3f8f0 server something { No such virtual server something } # server something Using Post-Auth-Type Reject No such virtual server something Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 29 to 192.168.2.47 port 2056 Waking up in 4.9 seconds. Cleaning up request 0 ID 29 with timestamp +7 Ready to process requests.
YvesDM wrote:
I try to configure dynamic clients on FR2.1.8. I use as good as default configuration in my testing. Somehow it always looks at FreeRADIUS-Client-Virtual-Server = "something" even the dynamic_client_server is defined in client dynamic.
Because that's what you told it to do. The reference to "something" is not in the default configuration. Use "grep" to find the reference to "something" in the raddb directory. Or, *read* the debug output. It will show you where that "something" is defined. Alan DeKok.
Alan DeKok wrote:
YvesDM wrote:
I try to configure dynamic clients on FR2.1.8. I use as good as default configuration in my testing. Somehow it always looks at FreeRADIUS-Client-Virtual-Server = "something" even the dynamic_client_server is defined in client dynamic.
Because that's what you told it to do. The reference to "something" is not in the default configuration.
Well, yes.. but my point is still valid. Read the "raddb/sites-available/dynamic-clients" configuration. This is documented. Alan DeKok.
participants (2)
-
Alan DeKok -
YvesDM