Hello Requiem -

On Thu, 26 Aug 1999, Requiem Aurelien (Ext/NTC) wrote:
> >%_Hello
> 
> I know about SQL logging
> but i must use a file accounting file to add informations
> So i just need actually to retrieve the correct file for
> the accouting logfile
> I've got a preclienthook function that works fine
> and i have added those lines
> my $p = ${$_[0]};
> my logfilename = ($p->{AcctLogFilename});
> but i have't got any filename. So just tell me how please
> 

$p is a pointer to the current radius packet (which does not contain
AcctLogFilename), so you will need to do this:

$p->{Handler}->{AcctLogFilename}

hth

Hugh

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to