Problem configuring CoA

Anton G. ak at smpmontag.ru
Thu Aug 13 11:58:43 CEST 2009


Alan DeKok ?????:
> Anton G. wrote:
>> /usr/local/etc/raddb/clients.conf[30]: No such home_server or
>> home_server_pool "localhost-coa"
>> some#
>>
>> What am i missing?
> 
>   Weird.  I guess the code got changed after the feature was tested and
> added.  Oh well.
> 
>   I've committed a fix to git.  You can grab that, or wait an hour or
> two for the "pre/" directory to have a tested and updated "tar" file.
> 
>   Alan DeKok.

Thanks alot, Alan!

grabbed today stable from git and tried.
As far as i can see - works.

But i`ve notice one thing:

Home_server of type coa must be listed in any home_server pool (no matter is the 
pool used or not) to get it work.
If it is not - i get
/usr/local/etc/raddb/clients.conf[178]: No such home_server or home_server_pool

so

---------------WORKS----------------
home_server coa1 {
         type = coa
	secret = testing123
         ipaddr = 10.1.3.5
         port = 1700

         coa {
                 irt = 2
                 mrt = 16
                 mrc = 5
                 mrd = 30
         }
}

home_server_pool coa {
         type = fail-over
         home_server = coa1
}


client test1 {
         ipaddr = 10.1.3.5
         netmask = 32
         secret = testing321
         nastype = other
         coa_server = coa1
}
-------------------------------------


---------------DOESN`T WORKS----------------
home_server coa1 {
         type = coa

         ipaddr = 10.1.3.5
         port = 1700
         coa {
                 irt = 2
                 mrt = 16
                 mrc = 5
                 mrd = 30
         }
}

client test1 {
         ipaddr = 10.1.3.5
         netmask = 32
         secret = testing321
         nastype = other
         coa_server = coa1
}
-------------------------------------





More information about the Freeradius-Users mailing list