Hi, Any comments? ... I have the same issue.
Rgds. Toomas Kärner ----- Original Message ----- From: "Claudio Lapidus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 07, 2002 12:01 AM Subject: (RADIATOR) Retrieving a hook by filename from inside ClientListSQL > Hello, > > I need to get the PreHandlerHook for certain clients from our standard > RADCLIENTLIST SQL table. The problem is that I'd prefer to store the hook > code in a file and not directly inside the table, for various reasons. > > I've setup this config and it works fine: > > <Client x.x.x.x> > Secret shhhh > PreHandlerHook file:"%D/preauth.pl" > </Client> > > As expected, the hook gets executed for this particular client. However, > this one doesn't work: > > <ClientListSQL> > DBSource dbi:mysql:radiator > DBUsername sqluser > DBAuth donttellya > </ClientListSQL> > > from the table we get: > > mysql> select NASIDENTIFIER, SECRET, PREHANDLERHOOK from RADCLIENTLIST; > +---------------+-------------+----------------------+ > | NASIDENTIFIER | SECRET | PREHANDLERHOOK | > +---------------+-------------+----------------------+ > | x.x.x.x | shhhh | file:"%D/preauth.pl" | > +---------------+-------------+----------------------+ > 1 row in set (0.00 sec) > > By seeing further action it is apparent that the hook doesn't get executed > this time. However, even at level 4 trace doesn't show anything regarding > this step. I also tried changing double quotes to single quotes in the field > contents, to no avail. So: > > 1. Is it legal to store the hook's filename into the table instead of the > code itself? (I hope so :-) > > 2. Is there a way to increase debug verbosity for ClientListSQL operations? > > TIA, > cl. > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > === > Archive at http://www.open.com.au/archives/radiator/ > Announcements on [EMAIL PROTECTED] > To unsubscribe, email '[EMAIL PROTECTED]' with > 'unsubscribe radiator' in the body of the message. > === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.