Re: how to refer to default virual server via dynamic clients sql lookup

2011-08-13 Thread Łukasz Kostka
W dniu 13.08.2011 16:56, Alan DeKok pisze: Łukasz Kostka wrote: it means that if i comment out FreeRADIUS-Client-Virtual-Server = "%{sql: SELECT server FROM nas WHERE nasname = '%{Packet-Src-IP-Address}'}" i will not be able to send different clients to different virtual ser

Re: how to refer to default virual server via dynamic clients sql lookup

2011-08-10 Thread Łukasz Kostka
W dniu 10.08.2011 14:42, Alan DeKok pisze: Łukasz Kostka wrote: i have 2 virtual servers active: default dynamic-clients No, you don't. The debug log clearly shows this. ls -l /etc/freeradius/sites-enabled/ razem 0 lrwxrwxrwx 1 root freerad 26 05-17 12:08 default -> ../sites-a

how to refer to default virual server via dynamic clients sql lookup

2011-08-10 Thread Łukasz Kostka
hi i have 2 virtual servers active: default dynamic-clients i wan to lookup every nas via sql dynamic-clients. my dynamic-clients configuration file client dynamic { ipaddr = 0.0.0.0 netmask = 0 lifetime = 3600 } server dynamic_client_server { authorize { if ("%{sql: