Hello Dean -

I will need to see a copy of your configuration file (no secrets) together with
a trace 4 debug showing what is happening.

thanks

Hugh

On Tue, 12 Sep 2000, Dean Brandt wrote:
> Hi 
> 
>       I am running Radiator 2.16.3 and attempting to authenticate from a
> MySQL database. When I run this:
> 
> ./radpwtest -user dean -pass testpass
> 
>       I get this error:
> 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Accounting accepted 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Error while rewriting
> username dean: syntax error at (eval 330) line 2, at EOF 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Rewrote user name to dean 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Error in
> PreHandlerHook(): Can't use string ("") as a subroutine ref while "strict
> refs" in use at Radius/Client.pm line 381. 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Handling request with Handler
> 'Realm=DEFAULT' 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]:  Deleting session for dean,
> 203.63.154.1, 1234 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Handling with Radius::AuthSQL 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Handling accounting with
> Radius::AuthSQL 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: do query is: insert into
> ACCOUNTING ^I^I(USERNAME, TIME_STAMP, ACCTSTATUSTYPE, ACCTDELAYTIME,
> ACCTINPUTOCTETS, ACCTOUTPUTOCTETS, ACCTSESSIONID, ACCTSESSIONTIME,
> NASPORT)  ^I^Ivalues  ^I^I('dean@', 968713091, 'Stop', 0, 20000, 30000,
> '00001234', 1000, 1234) 
> Sep 11 22:58:11 mel /usr/bin/radiusd[12214]: Accounting accepted 
> 
>       Why is it trying to rewrite the username and subsequently
> rejecting the attempt to authenticate?
> 
>       Thanks in advance.
> 
> 
> -- 
> 
> Dean Brandt
> 
> Technical Director
> Cain Internet Services Pty Ltd
> ACN 091949405
> Ph 61-3-95231065
> Distributor of Patton RAS equipment
> www.cain.com.au
> 
> 
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
-- 
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.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to