Hmm, i was testing the mysql backend with freeradius 1.1.3. looks good at first glance, but i bumped into something essential (for us that is). We like to link MAC addresses with the user account's. what did i do: I added a user in table radcheck. worked! next step, added same user in table: radacct. username:gebruiker CalledStationId: 00166f980e79 did not work! I change the MAC address to a wrong one, and i still get in.?? also in debug (radiusd -X) no radacct query is done?, so no attribute checkings are done !!?? So my question is, how can i make the attributes work with the mysql backend.. are we missing some mysql queries in the sql.conf ?? (btw, this all did worked with the 'users' file from freeradius) Cheers Collen
you should be putting it in radcheck, so it's checked when you log in. radacct is used to store accounting information (like session times etc :)) Hope this helps, Jan Mulders On 29/09/06, Collen Blijenberg <collen@mail.hermanjordan.nl> wrote:
Hmm, i was testing the mysql backend with freeradius 1.1.3. looks good at first glance, but i bumped into something essential (for us that is).
We like to link MAC addresses with the user account's.
what did i do: I added a user in table radcheck. worked!
next step, added same user in table: radacct.
username:gebruiker CalledStationId: 00166f980e79
did not work!
I change the MAC address to a wrong one, and i still get in.?? also in debug (radiusd -X) no radacct query is done?, so no attribute checkings are done !!??
So my question is, how can i make the attributes work with the mysql backend.. are we missing some mysql queries in the sql.conf ??
(btw, this all did worked with the 'users' file from freeradius)
Cheers
Collen
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi All I am trying to pass a integer value from Free radius to exec program . I have tryed to add as a value pair using paircreate() and then added the same to the request->packet->vps using pairadd. Set the lvalue , strvalue etc and passed to the radius_exec_program from rad_accounting module. Also set the tmp->name = "Atribute-Name-Format" . Still the attribute and value is not getting printed in the exec - progrm . Any help in this regard whould really help me. Thanks and regards Shankar ganesh
participants (3)
-
Collen Blijenberg -
Jan Mulders -
Shankar Ganesh C