(RADIATOR) Somethingswrong with my Handler definitions?

Bobbejaan van Elst bobby at the-mask.net
Fri Aug 8 06:21:54 CDT 2003


Hi,

I have a question, I get the following error when I start radiator:

=======

[root at apps root]$ export LANG=en_US
[root at apps root]$ echo $LANG  
en_US
[root at apps root]$ /etc/init.d/radiator restart
Shutting down Radiator:                                    [  OK  ]
Starting Radiator:                                         [  OK  ]
[root at apps root]$ tail
/etc/radiator/log-radius-pool/logfile-pool-2003-08-08.log 
Fri Aug  8 13:14:42 2003: DEBUG: Reclaiming expired leases
Fri Aug  8 13:14:42 2003: DEBUG: do query is: 'update RADPOOL set
STATE=0 where STATE!=0 and EXPIRY < 1060341282': 

Fri Aug  8 13:14:42 2003: ERR: Bad attribute=value pair: Realm=adsltest,
Request-Type=Access-Request Fri Aug  8 13:14:42 2003: ERR: Bad
attribute=value pair: Realm=adsltest, Request-Type=Accounting-Request
Fri Aug  8 13:14:42 2003: DEBUG: Finished reading configuration file
'/etc/radiator/radius-pool.cfg' Fri Aug  8 13:14:42 2003: DEBUG: Reading
dictionary file '/etc/radiator/dictionary' Fri Aug  8 13:14:43 2003:
DEBUG: Creating authentication port 0.0.0.0:1645 Fri Aug  8 13:14:43
2003: DEBUG: Creating accounting port 0.0.0.0:1646 Fri Aug  8 13:14:43
2003: NOTICE: Server started: Radiator 3.6 on apps67 [root at apps root]$ 

======

This is a part of my config file:

=======

# Handler definitions:
#               adsltest Authentication
#               adsltest Accounting

<Handler Realm=adsltest, Request-Type=Access-Request>

        RejectHasReason

        AuthByPolicy ContinueWhileAccept

        # PacketTrace   

        # This does the authentication
        AuthBy DefaultAccept

        # If authentication succeeds, this allocates an address
        # using the AddressAllocator

        # This gets reply attribute based on the NAS
        <AuthBy DYNADDRESS>
                Allocator myallocator

                PoolHint %{NAS-Identifier}
                #   PoolHint %{Calling-Station-Id} 
                MapAttribute yiaddr, Framed-IP-Address
                StripFromReply PoolHint
                StripFromReply Framed-IP-Netmask

        </AuthBy DYNADDRESS>

        AuthLog myAuthlogger
#       PasswordLogFileName %L/Password-ATS.log 

        SessionDatabase mySessionDB

</Handler>

<Handler Realm=adsltest, Request-Type=Accounting-Request>

        RejectHasReason

        AuthByPolicy ContinueWhileAccept

        # PacketTrace   

        # This logs accounting to the SQL database
        AuthBy SQLAccounting


        # Process the AddressAllocator in order to update the RADPOOL
database
        <AuthBy DYNADDRESS>

        Allocator myallocator

                PoolHint %{NAS-Identifier}
                #   PoolHint %{Calling-Station-Id} 
                MapAttribute yiaddr, Framed-IP-Address
                StripFromReply PoolHint
                StripFromReply Framed-IP-Netmask

        </AuthBy DYNADDRESS>

        AuthLog myAuthlogger
#       PasswordLogFileName %L/Password-ATS.log 


        # This logs accounting to a flat file
        AcctLogFileName %L/Acct-ATS-%Y-%m-%d.log
        AcctLogFileFormat %o, %{User-Name}, %{Framed-IP-Address}, \
                %{NAS-Identifier}, %{Acct-Status-Type},
%{Acct-Session-Time}, \
                %{Acct-Input-Octets}, %{Acct-Output-Octets},
%{Acct-Terminate-Cause}


        SessionDatabase mySessionDB

</Handler>

==========

I'm running Redhat 9.0 and radiator version: Radiator-3.6-1.noarch.rpm,
please help.


Kind regards,

Bobbejaan van Elst


Met vriendelijke groet,
 
Bobbejaan van Elst
Planet Technologies

===
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