Title: Re: (RADIATOR) Problem with Authlog SQL module (may be

Hello Le Anh Tuan -

In the short term you can just comment out this line. The problem will be fixed in the next release of Radiator.

Sorry for the trouble.

regards

Hugh

At 12:48 +0700 01/4/12, Le Anh Tuan wrote:
Hi,
I notice that, if I put special char in my FailuerQuery or SuccessQuery in Authlog SQL, sometime the query generated by AuthLog SQL module is blank. For example, if my FailureQuery like that: insert into Radlog (username_realm) values ('%n')
and a user name like: username@realm, then the query string is empty, instead of insert into Radlog (username_realm) values ('username@realm').
The problem is the @ character, because if username doesn't have @, the query is normal. I think the code in AuthlogSQL module (AuthlogSQL.pm), in function log : $q = eval qq/"$q"/; (near the end of function) is the causer.
 
Is there any way work around this problem?
 
Regards.
 
 

--
NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.

Reply via email to