(RADIATOR) radpwtst -noacct -noauth -code Disconnect-Request NAS-Port=xxx

Gonzalez Castillo, Alain AGonzalez at vianetworks.es
Thu Jul 12 11:44:40 CDT 2001


Hi, i need to disconnect an user.
When i use radpwtst -noacct -noauth -code Disconnect-Request NAS-Port=xxxx 

logfile tell me:


Thu Jul 12 20:35:30 2001: DEBUG: Check if Handler Realm=xxxx should be used
to handle this request
Thu Jul 12 20:35:30 2001: WARNING: Could not find a handler for : request is
ignored
No reply

Muy conf file is this:

# Radiator configuration file.
# Produced by /cgi-bin/radconfig.cgi Fri Jul  6 21:01:45 2001
#REMOTE_USER: , REMOTE_ADDR: xxxx

AcctPort 1646
AuthPort 1645
DbDir .
Foreground 
LogDir .
LogStdout 

<AddressAllocator SQL>
  DBAuth xxxx
  DBSource dbi:mysql:xxxx
  DBUsername xxxx
  Identifier direccionesip
  
<AddressPool pool1>
    DNSServer xxxx
    Range xxxx xxxx
    Subnetmask xxxx
  </AddressPool>
</AddressAllocator>

<AuthBy SQL>
  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
  DBAuth xxxx
  DBSource dbi:mysql:user_BLOSTE
  DBUsername root
  Identifier ID_0
</AuthBy>


<ClientListSQL >
  DBAuth xxxx
  DBSource dbi:mysql:xxxx
  DBUsername root
</ClientListSQL>

<Log SQL>
  DBAuth xxxx
  DBSource dbi:mysql:xxxx
  DBUsername xxxx
  LogQuery insert into RADLOG (TIME_STAMP, PRIORITY, MESSAGE) values (%t,
'$p', '$s')
  Trace 3
</Log>

<Log FILE>
  Filename logfile.radiator
  Identifier log radiator
  Trace 5
</Log>

<Realm xxxx>
  AuthBy ID_0
  AuthByPolicy ContinueWhileIgnore
  RewriteUsername s/^([^@]+).*/$1/
  SessionDatabase Sesion SQL
	<AuthBy DYNADDRESS>
  	Allocator direccionesip
  	MapAttribute yiaddr, Framed-IP-Address
  	MapAttribute subnetmask, Framed-IP-Netmask
  	PoolHint %{Reply:PoolHint}
  	StripFromReply PoolHint
	</AuthBy>

</Realm>

<SessionDatabase SQL>
  AddQuery insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT,
ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE) values
('%u', '%N', 0%{NAS-Port}, '%{Acct-Session-Id}', %{Timestamp},
'%{Framed-IP-Address}', '%{NAS-Port-Type}', '%{Service-Type}')
  ClearNasQuery delete from RADONLINE where NASIDENTIFIER='%N'
  CountNasSessionsQuery select ACCTSESSIONID from RADONLINE where
NASIDENTIFIER='%N'
  CountQuery select NASIDENTIFIER, NASPORT, ACCTSESSIONID from RADONLINE
where USERNAME='%u'
  DBAuth xxxx
  DBSource dbi:mysql:xxxx
  DBUsername xxxx
  DeleteQuery delete from RADONLINE where NASIDENTIFIER='%N' and
NASPORT=0%{NAS-Port}
  Description Logs
  Identifier Sesion SQL
</SessionDatabase>

Anyone can help me?
My NAS is an Cisco AS5300.

Thanks.
Alain.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20010712/0f4600ba/attachment.html>


More information about the radiator mailing list