Hi,
We have a problem with getting the group name into Group attribute from
SQL and then checking it in users file.
authorize module setup is like this:
authorize {
preprocess
chap
mschap
suffix
sql_pgsql
files
}
user <-> group matching info is stored in Postgresql.
A sample entry (Id field not show) is like below
username groupname
-------- ---------
foo bar
We want to assign reply A/V pairs per group and we want
to do it in users file.
A sample users file entry is below
DEFAULT Group == "bar"
Cisco-AVPair = "ip:addr-pool=bar",
Fall-Through = Yes
As far as I understand from my debuging sessions;
Freeradius (0.8.2 is our version) does NOT assign a value for internal
attribute "Group" after an SQL query on the subject username.
So we're unable to make any checks in users file per group basis.
We do NOT want to store ANY reply A/V pair in an SQL table. This why
we're looking for a solution in users file.
Thanks..
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html