Hello David -

I think this is a problem with your Client definitions in 
ClientListSQL. We have seen a similar problem recently with empty 
strings instead of NULL's in the definitions. Mike has fixed the 
problem and I have copied him on this mail to ask him to send you a 
copy of the patch.

regards

Hugh



At 4:21 PM -0400 15/8/00, David Purnell wrote:
>Hi I'm having a problem authenticating back to a proxied cistron radius
>server.
>
>I'm dialing into a 3rd party's Livingston equipment which is authenticated
>via a cistron radiusd.  The cistron radius then sends the authentication
>request to my radiator (2.16.1) installation.
>
>The cistron server forwards any access-requests to my radiator server that
>have my dmv.com realm attached.  The cistron server strips the realm and
>then sends the request to me. 
>
>Radiator is crashing everytime I try to authenticate this way.  Is my
>setup incorrect or is something going on with the cistron radius server?
>
>Thanks in advance for any help you can give me on this.
>
>Dave.
>
>
>
>
>Level 4 trace:
>
>Tue Aug 15 15:53:47 2000: DEBUG: Packet dump:
>*** Received from 162.33.163.21 port 1645 ....
>Code:       Access-Request
>Identifier: 190
>Authentic:  <160>{<189>&<144><206>:X<200>V$/9<134><181>k
>Attributes:
>         User-Name = "coret"
>         User-Password =
>"<235><207><0><164><132>t<169><232>J<29><240>,)<211><235>'"
>         NAS-IP-Address = 162.33.163.7
>         Service-Type = Framed-User
>         Framed-Protocol = PPP
>         Framed-Compression = None
>         NAS-Port-Type = Async
>         NAS-Port = 811011
>         Port-Limit = 0
>         Calling-Station-Id = "NONE"
>         Acct-Session-Id = "0112540733"
>         Proxy-State = 05be
>
>Tue Aug 15 15:53:47 2000: ERR: Error while rewriting username coret:
>syntax error at (eval 26) line 2, at EOF
>
>Tue Aug 15 15:53:47 2000: DEBUG: Rewrote user name to coret
>Tue Aug 15 15:53:59 2000: INFO: Server started: Radiator 2.16.1 on
>authbar2.dmv.com
>Tue Aug 15 15:54:00 2000: ERR: Error while rewriting username coret:
>syntax error at (eval 22) line 2, at EOF
>
>Tue Aug 15 15:54:11 2000: INFO: Server started: Radiator 2.16.1 on
>authbar2.dmv.com
>
>
>
>
>
>Cron output from radkeepalive:
>
>
>    /usr/bin/radiusd -config_file /etc/raddb/radiusd.cfg
>
>exited unexpectedly with exit status 0,
>signal number 0 and dump indication 0.
>
>The STDERR output was Issuing rollback() for database handle being
>DESTROY'd
>without explicit disconnect() at
>/usr/local/lib/perl5/site_perl/5.005/Radius/Realm.pm line 41, <FILE> chunk
>31.
>Can't use string ("") as a HASH ref while "strict refs" in use at
>/usr/local/lib/perl5/site_perl/5.005/Radius/Client.pm line 351.
>.
>
>The program will be restarted again by /usr/bin/radkeepalive in 10
>seconds.
>
>
>
>
>My radiator .cfg:
>
>
>Foreground
>LogDir          /var/log
>LogFile         /var/log/radiusd.log
>DbDir           /etc/raddb
>PidFile         /etc/raddb/radiusd.pid
>Trace           3
>
><ClientListSQL>
>         DBSource        dbi:mysql:radius:radbar.dmv.com
>         DBUsername      xxxx
>         DBAuth          xxxx
></ClientListSQL>
>
><Realm DEFAULT>
>         <AuthBy SQL>
>                 DBSource        dbi:mysql:cistron:acctbar.dmv.com
>                 DBUsername      xxxx
>                 DBAuth          xxxx
>                 AuthSelect      SELECT passwd FROM iprs WHERE
>username='%n'
>                 AuthColumnDef   0, Encrypted-Password, check
>                 AddToReply Service-Type=Framed-User,\
>                         Framed-Protocol = PPP,\
>                         Framed-Routing = None,\
>                         Idle-Timeout = 1200,\
>                         Session-Timeout = 28800,\
>                         Framed-MTU = 1500,\
>                         Port-Limit = 1
>         </AuthBy>
>         PasswordLogFileName     /var/log/radius.log
></Realm>
>
>
>
>
>===
>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