I enabled that virtual server by linking it into sites-enabled. I then added a single line: rest.authenticate in the "server coa" recv-coa section immediately before the "ok" line. adding just "rest" stopped the server from starting. I then send the server a CoA using radclient. I see the server receiving it (as per the debug output below), but no mention of "rest.authenticate". -----Original Message----- From: Freeradius-Users [mailto:freeradius-users-bounces+adrian.p.smith=bt.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: 20 December 2016 15:02 To: FreeRadius users mailing list Subject: Re: CoA -> REST On Dec 20, 2016, at 5:40 AM, adrian.p.smith@bt.com wrote:
Thanks for the tip. I tried this and the server does now start up.
When I send it a CoA however, I see no sign of the REST module being called:
(0) Received CoA-Request Id 217 from 127.0.0.1:45490 to 127.0.0.1:3799 length 38 (0) User-Name = "adrian" (0) Calling-Station-Id = "aa-bb-cc" (0) Sent CoA-ACK Id 217 from 127.0.0.1:3799 to 127.0.0.1:45490 length 0 (0) Finished request
Anything else I've missed?
Read the *entire* debug log. FreeRADIUS doesn't magically ignore virtual servers. If it's not using a virtual server, it's because of a local configuration issue. The default CoA server in raddb/sites-available/coa works when it's enabled. So... what did you do? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html