|
Good day,
OK, Hooking:
My PostAuthHook runs 3 times every time I
run radpwtst. I.e. the lines
my $username =
${$_[0]}->getAttrByNum($Radius::Radius::USER_NAME);
print "$username\n"; produces username 3 times on the
screen.
I assume once after authentication request,
once after accounting
start and once after accounting stop. Is this
correct?
I was also wondering, if I want to perform some
action when accounting
starts for a user, and some other when accounting
stops, how would
I do this?
Can I somehow figure out of what type the current
package is?
Another question I have is about the word USER_NAME
above. I've figured
out some more, like REPLY_MESSAGE and
FRAMED_IP_NETMASK..etc.
Where can I find a complete dictionary of things to
use?
And finally:
The line:
AcctColumnDef TIME_STAMP,Timestamp,'%Y-%m-%d %H:%M:%S'
doesn't make anything get inserted in my mySQL
database. The TIME_STAMP
column is of type datetime and
everything!
Somebody?
Regards
/christopher
|
- Re: (RADIATOR) Hooking (Newbee) Christopher Andersson
- Re: (RADIATOR) Hooking (Newbee) Hugh Irvine
