Problems with dynamic-clients

Ivan Kalik tnt at kalik.net
Thu Sep 10 17:23:34 CEST 2009


> Yes, it has been done for the static IP.
> With the original query it works.
> But I need to have different users for every access point and I've
> tried to apply NAS-Identifier in radgroupcheck but it doesn't work.
>
> So, I've changed my query joining the NAS-Identifier instead of the
> Ip address and it works.
>
> Is there another method to do it?
> I've not found anything else...

You can change sql schema. Add NAS-Identifier or NAS-IP-Address to
radcheck, radreply and radusergroup tables and adjust queries to check for
username and that attribute (... WHERE UserName='%{User-Name}' AND
APid='%{NAS-Identifier}').

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list