deny access with huntgroups

mikoi mika.koivisto at logica.com
Fri Aug 28 09:12:42 CEST 2009


> You have to enforce reject: 

> if(SQL-Group == "vpnuser") { 
>     ok 
> } 
> else { 
>     reject 
> } 

> Ivan Kalik 
> Kalik Informatika ISP 
Alright. that makes sense.
But can the if(xxx) contain several sql-queries to the database?
The username and groupname from radusergroup and groupname from radhuntgroup
need to be
matched somehow so that no one note in the right group can get through.

Something like:

if(SQL-Group == "%{sql:select groupname xxxx AND  SQL-User-Name ==
"%{sqlxxxx AND so on...

Sorry for the obvious questions, but you are helping me alot. Thanks.

/Mika
-- 
View this message in context: http://www.nabble.com/deny-access-with-huntgroups-tp25151127p25185118.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list