(RADIATOR) PreHandlerHook/ClientListSQL

DUFOUR Geoffrey Geoffrey.DUFOUR at staff.win.be
Thu Apr 1 07:41:04 CST 2004


Hello,

I can't make my hook (PreHandlerHook) work with <CLientListSQL>.

I think it is related to the way MySQL handles special characters like
quotes, double quotes, ...

I tried to escape the double quotes, to use the quote() function, ...

I guess I'm missing something.

Here is my parameter :

Select PREHANDLERHOOK from RADCLIENT; (MySQL)

file:"%D/nas_port"

Here is the error I get for every RADIUS request :

Thu Apr  1 15:56:46 2004: ERR: Error in PreHandlerHook(): Can't use
string ("%D/nas_port") as a subroutine ref while "strict refs" in use at
/usr/local/ActivePerl-5.6/lib/site_perl/Radius/Configurable.pm line 460.

Any ideas ?

Regards.

Geoffrey

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list