deny access with huntgroups

Ivan Kalik tnt at kalik.net
Thu Aug 27 12:11:55 CEST 2009


>
> Finally. I got it working with the files (users and huntgroups), but i
> need
> this to work in SQL instead and seem to run into the same problem. All
> NAS-IP:s are accepted. Why??

Because if sql group doesn't match it is ignored - user is not rejected.

> I am so close but not quite there. Please help!
> Followed a guide from jdennis that i googled up, but something is
> accepting
> the user. How do i turn this off?

You have to enforce reject:

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

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list