RE: no session showed by radwho, but user still could not login

2007-05-16 Thread tnt
Config looks OK. Change type of the NAS you are testing to other. If that stops multiple logins, problem is with radcheck script. Ivan Kalik Kalik Informatika ISP Dana 16/5/2007, Trio [EMAIL PROTECTED] piše: Im using nas with 'nas' table in my sql here the data mysql select * from nas;

Re: no session showed by radwho, but user still could not login

2007-05-15 Thread A . L . M . Buxey
Hi, I have already checked my NAS and there is no session for [EMAIL PROTECTED], I try with radzap and still not working… the logs show the session still in thw SQL - check your tables for this session. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread Trio
Thanks for the reply, How to know that the session is still in SQL ? In radchek,radacct table ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 5:05 PM To: FreeRadius users mailing list Subject: Re: no

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread tnt
SELECT * FROM radacct WHERE AcctStopTime=0 will give you all sessions that database counts as open. Ivan Kalik Kalik Informatika ISP Dana 15/5/2007, Trio [EMAIL PROTECTED] piše: Thanks for the reply, How to know that the session is still in SQL ? In radchek,radacct table ? -Original

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread Trio
I don't think so, it's the result mysql select username,AcctStopTime from radacct WHERE AcctStopTime=0 - ; +---+-+ | username | AcctStopTime| +---+-+ | [EMAIL PROTECTED] | -00-00 00:00:00 | | [EMAIL PROTECTED] | -00-00

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread tnt
++---+---+-+-+ | id | UserName | Attribute | op | Value | ++---+---+-+--+ | 57 | rsa at idola | Simultaneous-Use | := | 0| | 42 | rsa at idola |

Re: no session showed by radwho, but user still could not login

2007-05-15 Thread guildivernos guildivernos
Hi all I'm newbie in freeradius, i've already installed freeradius-1.1.6, Mysql and MikroTik NAS. I'm configuring my radius 1 session for every 1 user : ++---+---+-+-+ | id | UserName | Attribute | op | Value |

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread Trio
:) Please read my 1st email,there is a words I want only 1 session for every user -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 7:51 PM To: FreeRadius users mailing list Subject: RE: no session showed by

Re: no session showed by radwho, but user still could not login

2007-05-15 Thread guildivernos guildivernos
On 5/15/07, Trio [EMAIL PROTECTED] wrote: :) Please read my 1st email,there is a words I want only 1 session for every user Simultaneous-Use := 1 - 1 session for every user -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]

Re: no session showed by radwho, but user still could not login

2007-05-15 Thread Dennis Skinner
Trio wrote: :) Please read my 1st email,there is a words I want only 1 session for every user It is not a boolean option. 0 means you want 0 sessions for every user (i.e. they cannot login). 1 means 1 session, 2 means 2 sessions, etc... -- Dennis Skinner Systems Administrator BlueFrog

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread tnt
Yes. You haven't set up session control properly. Check the nastype entry in clents.conf and make sure that sql is not commented out in session {} part of radiusd.conf. Ivan Kalik Kalik Informatika ISP Dana 15/5/2007, Trio [EMAIL PROTECTED] piše: I change the sql now This is my sql now.. mysql

RE: no session showed by radwho, but user still could not login

2007-05-15 Thread Trio
Im using nas with 'nas' table in my sql here the data mysql select * from nas; +++--+--+---+---+--- +---+ | id | nasname| shortname| type | ports | secret| community | description |