I'm getting a "Bad Authenticator" message using > Radiator. Cisco,  O/S is
Solaris. And with MSSQL database. 
Any idea how to fix this? Any help would be appreciated!

 

Attached is my config file. Pleaes have look on it. thanks in advance..

 

 


Wed Apr 17 13:02:09 2019: DEBUG: Rewrote user name to
[email protected]

Wed Apr 17 13:02:09 2019: WARNING: Bad authenticator in request from
212.119.67.28 (212.119.67.28)

Wed Apr 17 13:02:23 2019: DEBUG: Packet dump:

*** Received from 212.119.67.28 port 21831 ....

Code:       Accounting-Request

Identifier: 199

Authentic:  <132><21><11><181><20><23><12>PR<3>g+<241>TJ<168>

Attributes:

        Acct-Session-Id = "00CF48AE"

        Tunnel-Type = 0:L2TP

        Tunnel-Medium-Type = 0:IP

        Tunnel-Server-Endpoint = 212.71.46.101

        Tunnel-Client-Endpoint = 192.168.1.91

        Tunnel-Assignment-ID = ADSL-Aggregation

        Tunnel-Client-Auth-ID = RY-DSL-MX01-re0

        Tunnel-Server-Auth-ID = NewCorpRouter

        Tunnel-ID = 389061

        Framed-Protocol = PPP

        Framed-IP-Address = 85.129.207.21

        User-Name = "[email protected]"

        Acct-Authentic = RADIUS

        Acct-Session-Time = 420

        Acct-Input-Octets = 1362

        Acct-Output-Octets = 1377

        Acct-Input-Packets = 86

        Acct-Output-Packets = 87

        Acct-Terminate-Cause = Session-Timeout

        Acct-Status-Type = Stop

        Calling-Station-Id = "M102-00-439_WAMLO atm 0/06/00#11-291-4434"

        Connect-Info = "1000000000"

        NAS-Port-Type = Virtual

        NAS-Port = 1265

        NAS-Port-Id = "Uniq-Sess-ID1265"

        Service-Type = Framed-User

        NAS-IP-Address = 212.119.67.28

        Acct-Delay-Time = 0

Wed Apr 17 13:02:23 2019: DEBUG: Rewrote user name to
[email protected]

Wed Apr 17 13:02:23 2019: WARNING: Bad authenticator in request from
212.119.67.28 (212.119.67.28)

bash-3.2# more /opt2/radiator/radius.cfg
LogStdout
LogDir /opt2/log
LogFile %L/logfile-%Y-%m-%d
DictionaryFile /etc/radiator/dictionary
#DbDir           .
DbDir /etc/radiator
#WINCHHook file:"%D/dump"
# User a lower trace level in production systems:

Trace 4

AuthPort  1818
AcctPort   1819



BindAddress 212.71.33.239

RewriteUsername tr/A-Z/a-z/

# You will probably want to add other Clients to suit your site,
# one for each NAS you want to work with



<Client 212.119.67.28>
        Secret nesma99
</Client>




# Handler for Accounting Stops

<Handler Acct-Status-Type = Stop>

<AuthBy SQL>
          DBSource        dbi:Sybase:xxxxx
          DBUsername      xxxser
          DBAuth          xxxserpass


HandleAcctStatusTypes Stop

AcctSQLStatement exec ISPBilling.dbo.[CM_WriteCDRnew] \

'%{Acct-Session-Id}','%{User-Name}','%G',%{Acct-Session-Time},'%{Called-Station-
Id}',%{Acct-Input-Octets},%{Acct-Output-Octets},'%{NAS-IP-Address}','%{Framed-IP
-Address}','%{Calling-Station-Id}','%{Acct-Terminate-Cause}','%{Tunnel-Client-En
dpoint}','%{Tunnel-Client-Auth-ID}','%{Acct-Status-Type}'


</AuthBy>

</Handler>

# Default Handler (For New-billing Server Nemsa)

<Handler>
PreProcessingHook file:"/etc/radiator/changeUserName"
<AuthBy SQL>
          DBSource        dbi:Sybase:xxxx
          DBUsername      xxxxx
          DBAuth          xxxse

          DefaultSimultaneousUse 1
          CaseInsensitivePasswords
          IgnoreAcctSignature


         AuthSelect select password, replyattr, checkattr  from NB_Authenticatio
n_Nesma \
         where username=%0
         AuthColumnDef 0, User-Password, check
         AuthColumnDef 1, GENERIC, reply
         AuthColumnDef 2, GENERIC, check
# Modification End
</AuthBy>

</Handler>


#SessionDatabases
        <SessionDatabase SQL>

          DBSource        dbi:Sybase:xxxxx
          DBUsername      xxxser
          DBAuth          xxxserpass

# An entry for each user _currently_ on line
            AddQuery    insert into RADONLINE (USERNAME,NASIDENTIFIER,NASPORT,\
                       ACCTSESSIONID,TIME_STAMP,FRAMEDIPADDRESS,NASPORTTYPE,\
                        SERVICETYPE,CALLERID) values \

                        (%0,'%{NAS-IP-Address}',%{NAS-Port},'%{Acct-Session-Id}'
,\
                         Cast ('%G' as datetime),'%{Framed-IP-Address}','%{NAS-P
ort-Type}',\
                        '%{Framed-Protocol}','%{Calling-Station-Id}')

            DeleteQuery delete from RADONLINE where USERNAME=lower(%0) and \
                        NASIDENTIFIER='%N' and NASPORT=%{NAS-Port}

           # ClearNasQuery delete from RADONLINE where NASIDENTIFIER='%N'
                      #  CountQuery  select NASIDENTIFIER, NASPORT, ACCTSESSIONI
D from \
                      #   RADONLINE where USERNAME=%0
        </SessionDatabase>
_______________________________________________
radiator mailing list
[email protected]
https://lists.open.com.au/mailman/listinfo/radiator

Reply via email to