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

Trio trioy99 at gmail.com
Wed May 16 02:19:28 CEST 2007


Im using nas with 'nas' table in my sql here the data
mysql> select * from nas;
+----+----------------+--------------+----------+-------+-----------+-------
----+---------------+
| id | nasname        | shortname    | type     | ports | secret    |
community | description   |
+----+----------------+--------------+----------+-------+-----------+-------
----+---------------+
|  1 | 129.47.26.224  | ap-cisco     | cisco    |  1812 | aironet03 |
| RADIUS Client |
|  2 | 129.47.26.111  | mikrotik     | mikrotik |  1812 | free      |
| RADIUS Client |
|  6 | 202.152.57.137 | mikrotik     | mikrotik |  1812 | free      | NULL
| RADIUS Client |
|  5 | 129.47.26.123  | kelapa-sawit | mikrotik |  1812 | utama     | NULL
| RADIUS Client |
|  7 | 129.47.26.222  | linksys      | linksys  |  1812 | linksys   | NULL
| RADIUS Client |
|  8 | 127.0.0.1      | localhost    | other    |  1812 | chilli    | NULL
| RADIUS Client |
|  9 | 202.152.4.220  | utama        | mikrotik |  1812 | utama     | NULL
| RADIUS Client |
| 10 | 129.47.26.122  | apbaru       | mikrotik |  1812 | free      | NULL
| RADIUS Client |
+----+----------------+--------------+----------+-------+-----------+-------
----+---------------+

And this is my session section in my radiusd.conf
session {
        radutmp

        #
        #  See "Simultaneous Use Checking Querie" in sql.conf
        sql
}

Whats wrong with that my conf ?


Trio

-----Original Message-----
From: freeradius-users-bounces+trioy99=gmail.com at lists.freeradius.org
[mailto:freeradius-users-bounces+trioy99=gmail.com at lists.freeradius.org] On
Behalf Of tnt at kalik.co.yu
Sent: Wednesday, May 16, 2007 3:02 AM
To: FreeRadius users mailing list
Subject: RE: no session showed by radwho, but user still could not login

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" <trioy99 at gmail.com> piše:

>I change the sql now
>This is my sql now..
>mysql> select * from radcheck where username='rsa at idola';
>+----+-----------+------------------+----+----------+
>| id | UserName  | Attribute        | op | Value    |
>+----+-----------+------------------+----+----------+
>| 57 | rsa at idola | Simultaneous-Use | := | 1        |
>| 42 | rsa at idola | Password         | == | denpasar |
>+----+-----------+------------------+----+----------+
>But I try with 2 pc, both using username rsa at idola, guess what happen?
>All pc can connect perfectly :(
>1 username can used by  2 pc in the same time.....
>
>Any one can explain this ?
>thanks
>trio
>-----Original Message-----
>From: freeradius-users-bounces+trioy99=gmail.com at lists.freeradius.org
>[mailto:freeradius-users-bounces+trioy99=gmail.com at lists.freeradius.org] On
>Behalf Of Dennis Skinner
>Sent: Tuesday, May 15, 2007 8:51 PM
>To: FreeRadius users mailing list
>Subject: Re: no session showed by radwho, but user still could not login
>
>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 Internet
>http://www.bluefrog.com
>-
>List info/subscribe/unsubscribe? See
>http://www.freeradius.org/list/users.html
>
>-
>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html





More information about the Freeradius-Users mailing list