10 Sep
2009
10 Sep
'09
11:23 a.m.
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