Hello,
I'd like to add a db call in Handler.pm just before the session is
put into the radonline table. Can anyone give me a hint of what I need to
do? Basically during the Accounting phase I have some additional
information about the user that's in a db that I also want in the
radonline table. I haven't had luck using class attributes or other ways,
so I thought this would work. Basically I want to use the $name variable
(the username) and grab out the attributes from the subscribers db that I
need. Then, along with the other info, I'll pass that information to the
$sessdb->add command. I'm a bit confused, so any assistance or other
thoughts of how to get that information into the online db would be most
helpful. If I modify this line in Handler.pm:
$sessdb->add($name, $nas_id, $nas_port, $p);
to include my extra entries, what other file(s)/areas need to be modified
to ensure it's added properly? Thanks.
--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Specialist
Email: [EMAIL PROTECTED]
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.