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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> piše:

>I change the sql now
>This is my sql now..
>mysql> select * from radcheck where username='[EMAIL PROTECTED]';
>+----+-----------+------------------+----+----------+
>| id | UserName  | Attribute        | op | Value    |
>+----+-----------+------------------+----+----------+
>| 57 | [EMAIL PROTECTED] | Simultaneous-Use | := | 1        |
>| 42 | [EMAIL PROTECTED] | Password         | == | denpasar |
>+----+-----------+------------------+----+----------+
>But I try with 2 pc, both using username [EMAIL PROTECTED], 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: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] 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


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

Reply via email to