2 different authorization?

Alan DeKok aland at deployingradius.com
Tue Feb 19 08:21:27 CET 2008


javkhlanbaatar at newcomsystems.mn wrote:
> I want to filter users depending on their status. I mean active users can
> login (authenticate) to internet and rest are able to login but only to
> the local (or certain) websites. If I add a field named Status in the
> radcheck table and it only takes yes/no values.
> 
> Username Attribute Op Value *Status*

  I'm not sure what that means...

> and I tried to insert in checkval section as follows:

  Why are you using checkval?  In 2.x, just use "unlang".  It's much easier.

> Also, I read templates.conf and proxy,conf. I think my answer is in there
> but lack of my English, I cannot understand clearly.

  Read "man unlang".

> 2. I've tried also create 2 sql instances. But after that how the radius
> differs the users according to their connection. I mean when user1
> connects then it checked from sql1 instances etc.
> 
> But in the debugging mode, radius checks from both 2 instances. How can I
> manage this?

  Read "man unlang" and "man radiusd.conf".

  Alan DeKok.



More information about the Freeradius-Users mailing list