[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnu-radius] How it do 'logout' ?
From: |
Азамат Альмухаметов |
Subject: |
[Help-gnu-radius] How it do 'logout' ? |
Date: |
Mon, 24 Nov 2003 03:15:05 +0300 |
Privet, Sergey!
i use with mysql
--
Nov 24 03:44:28 [10189]: logout: entry for NAS 213.189.233.100 port 5 has wrong
ID (expected a found b)
----
how radiusd do logout of user (i mean clear user from radwtmp)
1. NAS send 'stop' request like:
user_name aza
port = 2
session_id = ab
radiusd should find user 'aza' AND 'port=2' AND 'session_id = ab'
and clear it from radwtmp (and from mysql by acct_stop_query)
i guess my NAS (3Com 1500 RAS) sends illegal 'port' and 'session_id' when user
logout.. :(
but it 100% right sends his user_name.
I removed session_id from my sqlserver file:
---
# Query to be used on session end
acct_stop_query UPDATE calls \
SET status=%C{Acct-Status-Type},\
acct_session_time=%C{Acct-Session-Time},\
acct_input_octets=%C{Acct-Input-Octets},\
acct_output_octets=%C{Acct-Output-Octets},\
connect_term_reason=%C{Acct-Terminate-Cause} \
WHERE user_name='%C{User-Name}' \
AND status = 1
---
this action will apply on mysql only, right?
so what should i do with radwtmp?
Sorry for my english.
Thank you.
- [Help-gnu-radius] How it do 'logout' ?,
Азамат Альмухаметов <=