freeradius 3 - CoA & clients from db and not from clients.conf

Alan DeKok aland at deployingradius.com
Wed Aug 9 17:23:30 CEST 2017


On Aug 9, 2017, at 2:07 PM, Lakshman P <lakshman at laurel.solutions> wrote:
> 
> When i add my client (NAS IP) in clients.conf my configuration of the CoA
> is perfect, working fine without any problem.

  That's good.

> The issue is my clients list should come from the database but not this
> file. I add the client in my nas table and during the server startup i see
> the message
> 
> rlm_sql (sql): Executing select query: SELECT id, nasname, shortname, type,
> secret, server FROM nas
> 
> rlm_sql (sql): Adding client 192.168.0.12 (myNAS) to global clients list

  That's a client.  i.e. a system which can send CoA-Request packets to the server.

> But when I send a CoA request i get the message
> 
> WARNING: Unknown destination 192.168.0.12:3799 for CoA request.

  Yes.

> I am looking for a solution where i can have clients listed only in
> database but not in the clients.conf file.

  That is not supported in v3.

  As always, patches are welcome.

  Alan DeKok.




More information about the Freeradius-Users mailing list