Use SQL groups based on huntgroups J. -- Jonathan De Graeve Network/System Administrator Imelda vzw Informatica Dienst 015/50.52.98 Jonathan.de.graeve@imelda.be ________________________________ Van: freeradius-users-bounces+jonathan.de.graeve=imelda.be@lists.freeradius.o rg [mailto:freeradius-users-bounces+jonathan.de.graeve=imelda.be@lists.free radius.org] Namens Vadimv82 (sent by Nabble.com) Verzonden: maandag 30 januari 2006 11:34 Aan: freeradius-users@lists.freeradius.org Onderwerp: User groups, HELP!!! Hello. I run FreeRadius with MySQL. And need help with authentification groups. Imagine i have many WiFi hot spots each with own NAS and IP. Any user can register and get a password and login, but he can only get access through certain NAS where he registered at, if he goes to another spot he cant login there with it. So i have to create access groups by NAS IP on Radius server, how do i do that? I tried to use huntgroups, but i dont really understand how they work. And i can't put every user into 'users' conf, cuz then every time somebody registeres i need to restart Radius server so it would reload 'users' conf. How can i do that? I need to create a group once for each Hot Spot, and then user registeres for access, he automaticaly gets a certain group status, and when he tries to login, radius server checks his NAS ip and his group, if they match, NAS gives him access to internet. Thank u, for ur help. Vadim. ________________________________ View this message in context: User groups, HELP!!! <http://www.nabble.com/User-groups%2C-HELP%21%21%21-t1024919.html#a26574 16> Sent from the FreeRadius - User <http://www.nabble.com/FreeRadius---User-f1104.html> forum at Nabble.com.
I tried to use huntgroups. Imagine i have users in group 'test', and they come from NAS Ip 192.168.4.23. I tried to put in huntgroups following: test NAS-IP-Address == 192.168.4.23, NAS-Port-Id == 0-7 Group = test But if any of this users come from other IP and from Test group, he goes through!!! And doesnt work. May be i undertsnad smth wrong. -- View this message in context: http://www.nabble.com/User-groups%2C-HELP%21%21%21-t1024919.html#a2690693 Sent from the FreeRadius - User forum at Nabble.com.
"Vadimv82 (sent by Nabble.com)" <lists@nabble.com> wrote:
test NAS-IP-Address == 192.168.4.23, NAS-Port-Id == 0-7 ^^^
What led you to believe that was accepted by the server?
Group = test
Group is an attribute which looks users up in Unix groups (/etc/group). You CANNOT assign users to it. Alan DeKok.
participants (3)
-
Alan DeKok -
Jonathan De Graeve -
Vadimv82 (sent by Nabble.com)