Hi,

Could someone please give me and idea on where to start looking to fix this?

--- RADIUS & AUTHOR DEBUG

04:40:33: %LINK-3-UPDOWN: Interface Async25, changed state to up
*Mar  1 04:40:37: RADIUS: ustruct sharecount=1
*Mar  1 04:40:37: RADIUS: Initial Transmit id 91 203.42.10.9:1812,
Access-Request, len 85
*Mar  1 04:40:37:         Attribute 4 6 CB2A0A02
*Mar  1 04:40:37:         Attribute 5 6 00000019
*Mar  1 04:40:37:         Attribute 61 6 00000000
*Mar  1 04:40:37:         Attribute 1 6 62757A7A
*Mar  1 04:40:37:         Attribute 30 10 34393336
*Mar  1 04:40:37:         Attribute 3 19 01B43319
*Mar  1 04:40:37:         Attribute 6 6 00000002
*Mar  1 04:40:37:         Attribute 7 6 00000001
*Mar  1 04:40:37: RADIUS: Received from id 91 203.42.10.9:1812,
Access-Accept, len 50
*Mar  1 04:40:37:         Attribute 7 6 00000001
*Mar  1 04:40:37:         Attribute 9 6 FFFFFF00
*Mar  1 04:40:37:         Attribute 10 6 00000000
*Mar  1 04:40:37:         Attribute 12 6 000005DC
*Mar  1 04:40:37:         Attribute 13 6 00000001
*Mar  1 04:40:37: AAA/AUTHOR/LCP As25: Authorize LCP
*Mar  1 04:40:37: AAA/AUTHOR/LCP As25 (3612044957): Port='Async25' list=''
service=NET
*Mar  1 04:40:37: AAA/AUTHOR/LCP: As25 (3612044957) user='buzz'
*Mar  1 04:40:37: AAA/AUTHOR/LCP: As25 (3612044957) send AV service=ppp
*Mar  1 04:40:37: AAA/AUTHOR/LCP: As25 (3612044957) send AV protocol=lcp
*Mar  1 04:40:37: AAA/AUTHOR/LCP (3612044957) found list "default"
*Mar  1 04:40:37: AAA/AUTHOR/LCP: As25 (3612044957) Method=RADIUS
****************************************************************************
*******
*Mar  1 04:40:37: RADIUS: no appropriate authorization type for user.
****************************************************************************
*******
*Mar  1 04:40:37: AAA/AUTHOR (3612044957): Post authorization status = FAIL
*Mar  1 04:40:37: AAA/AUTHOR/LCP As25: Denied

--- RADIATOR LOG TRACE 4

Code:       Access-Request
Identifier: 91
Authentic:  <188><174>rsQ<17><197>]<21><201>b<215><183><25><165><138>
Attributes:
        NAS-IP-Address = 203.42.10.2
        NAS-Port = 25
        NAS-Port-Type = Async
        User-Name = "buzz"
        Called-Station-Id = "********"
        CHAP-Password =
"<1><180>3<25><202><242>b<9><161>li<238><9>k<140>Q<137>"
        Service-Type = Framed-User
        Framed-Protocol = PPP

Fri Nov  5 05:11:15 1999: DEBUG: Rewrote user name to buzz
Fri Nov  5 05:11:15 1999: DEBUG: Handling request with Handler
'Realm=DEFAULT'
Fri Nov  5 05:11:15 1999: DEBUG: Deleting session for buzz, 203.42.10.2, 25
Fri Nov  5 05:11:15 1999: DEBUG: Handling with Radius::AuthSQL
Fri Nov  5 05:11:15 1999: DEBUG: Handling with Radius::AuthSQL
Fri Nov  5 05:11:15 1999: DEBUG: Query is: select PASSWORD, CHECKATTR,
REPLYATTR  from SUBSCRIBERS where USERNAME='buzz'

Fri Nov  5 05:11:15 1999: DEBUG: Radius::AuthSQL looks for match with buzz
Fri Nov  5 05:11:15 1999: DEBUG: Radius::AuthSQL ACCEPT:
Fri Nov  5 05:11:15 1999: DEBUG: Access accepted for buzz
Fri Nov  5 05:11:15 1999: DEBUG: Packet dump:
*** Sending to 203.42.10.2 port 1645 ....
Code:       Access-Accept
Identifier: 91
Authentic:  <188><174>rsQ<17><197>]<21><201>b<215><183><25><165><138>
Attributes:
        Framed-Protocol = PPP
        Framed-IP-Netmask = 255.255.255.0
        Framed-Routing = None
        Framed-MTU = 1500
        Framed-Compression = Van-Jacobson-TCP-IP


----- My Config File
Foreground
LogStdout
LogDir          /var/log
DbDir           .
DictionaryFile  /usr/local/etc/dictionary
AuthPort 1812
AcctPort 1813

Trace 4

RewriteUsername s/^([^@]+).*/$1/

<Client xxx.xxx.xxx.xxx>
        Secret  xxxxxxxxxxxxxxxx
        NasType Cisco
        SNMPCommunity xxxxxxxxxxxxxxxxxxxx
</Client>

<ClientListSQL>
        DBSource        dbi:mysql:xxxxxxx
        DBUsername      xxxxxx
        DBAuth          xxxxxxxxx
</ClientListSQL>

<Realm DEFAULT>
    <AuthBy SQL>
        DBSource        dbi:mysql:radius
        DBUsername      xxxxxx
        DBAuth          xxxxxxxxx
        AuthSelect      select PASSWORD from SUBSCRIBERS where USERNAME='%U'
        AcctColumnDef   0, User-Password, check
        AccountingTable ACCOUNTING
        AcctColumnDef   USERNAME,User-Name
        AcctColumnDef   TIME_STAMP,Timestamp,integer
        AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type
        AcctColumnDef   ACCTDELAYTIME,Acct-Delay-Time,integer
        AcctColumnDef   ACCTINPUTOCTETS,Acct-Input-Octets,integer
        AcctColumnDef   ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
        AcctColumnDef   ACCTSESSIONID,Acct-Session-Id
        AcctColumnDef   ACCTSESSIONTIME,Acct-Session-Time,integer
        AcctColumnDef   ACCTTERMINATECAUSE,Acct-Terminate-Cause
        AcctColumnDef   NASIDENTIFIER,NAS-Identifier
        AcctColumnDef   NASPORT,NAS-Port,integer
        AcctColumnDef   FRAMEDIPADDRESS,Framed-IP-Address
    </AuthBy>
</Realm>


Regards
Aaron


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to