Re: Simultaneous-Use oddness.

2013-07-31 Thread Matthew Schumacher
Alan, Thanks for your reply. I see your point. But this does create an issue when you deprecate a nas when users are connected (which isn't ideal but does happen) because now the session will never close and radius doesn't assume that a missing nas also means missing session, nor does it pass

Re: Simultaneous-Use oddness.

2013-07-20 Thread Alan DeKok
Matthew Schumacher wrote: When I have a session that didn't get expired in a SQL database, and the user tries to connect then freeradius correctly checks the nas using the checkrad script *UNLESS* the nas is no longer defined in the clients. If the nas is missing, radius doesn't bother to call

Simultaneous-Use oddness.

2013-07-19 Thread Matthew Schumacher
List, I'm bumping this odd issue with Simultaneous-Use: When I have a session that didn't get expired in a SQL database, and the user tries to connect then freeradius correctly checks the nas using the checkrad script *UNLESS* the nas is no longer defined in the clients. If the nas is missing

Re: Simultaneous Use strategy

2013-03-04 Thread Alan DeKok
Mehdi Ravanbakhsh wrote: /So i need to change /*Simultaneous Use check strategy and if user with same Calling Station ID - NAS ip address - NAS port - Called station ID try to connect i need to accept it .* Then write that policy in unlang. It's not hard. *Is there any way to change

Change Simultaneous-Use default value

2012-11-20 Thread Dmitry Korzhevin
Hello, How to change default Simultaneous-Use 0 (default) value without using user groups? So, all current users and new, that will be created - will have for example 2 allowed connections? Best Regards, Dmitry --- Dmitry KORZHEVIN System Administrator STIDIA S.A. - Luxembourg e

Re: Change Simultaneous-Use default value

2012-11-20 Thread Alan DeKok
Dmitry Korzhevin wrote: Hello, How to change default Simultaneous-Use 0 (default) value without using user groups? So, all current users and new, that will be created - will have for example 2 allowed connections? Add an entry in the users file: DEFAULT Simultaneous-Use := 2 Alan

Re: simultaneous-Use is not worrking

2012-11-04 Thread Miha
: i am turning out you due to issue with simultaneous-Use. I readed mailing list but did not find any appropriate answer. ... my config: [root@localhost sites-available]# radiusd -X FreeRADIUS Version 2.1.12, for host ... Ready to process requests. The reason to post

simultaneous-Use is not worrking

2012-11-03 Thread Miha
Hi there, i am turning out you due to issue with simultaneous-Use. I readed mailing list but did not find any appropriate answer. My configuration: .../raddb/site-avalible/default: session {mysql} .../raddb/sql/mysql/dialup.conf: uncomment simul_count_query.. In radcheck I have put user

Re: simultaneous-Use is not worrking

2012-11-03 Thread Alan DeKok
Miha wrote: i am turning out you due to issue with simultaneous-Use. I readed mailing list but did not find any appropriate answer. ... my config: [root@localhost sites-available]# radiusd -X FreeRADIUS Version 2.1.12, for host ... Ready to process requests. The reason to post

Re: simultaneous-Use is not worrking

2012-11-03 Thread Miha
HI Alan, log with simultaneous-Use := 1: rad_recv: Accounting-Request packet from host xxx.xxx.xxx.xxx port 40165, id=56, length=327 Acct-Status-Type = Start Acct-Session-Id = 21613e25-697e-4d90-a741-586503d4abcb User-Name = 018108753.enterprise Freeswitch-Src

Re: Simultaneous-Use checking

2012-02-25 Thread Fajar A. Nugraha
On Sat, Feb 25, 2012 at 11:51 AM, opti2k4 dr...@email.t-com.hr wrote: Hi, i need little help with this. I have MySQL setup with freeradis, that is working. Now for Simultaneous-Use checking there are no querys to uncomment inside sql.conf by default (installed freeradius over apt-get

Simultaneous-Use checking

2012-02-24 Thread opti2k4
Hi, i need little help with this. I have MySQL setup with freeradis, that is working. Now for Simultaneous-Use checking there are no querys to uncomment inside sql.conf by default (installed freeradius over apt-get ). Now i added to sql.conf simul_count_query = SELECT COUNT(*) FROM radacct

Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
Hi I'm using Simultaneous-use := 1 and sql for check on my Freeradius server. When the radius found that customer connected already it reject customer with Reply-Message := \r\nYou are already logged in - access denied\r\n\n. Is the way do not reject customer to be able connect customer

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alan DeKok
Alexander Kosykh wrote: I'm using Simultaneous-use := 1 and sql for check on my Freeradius server. When the radius found that customer connected already it reject customer with Reply-Message := \r\nYou are already logged in - access denied\r\n\n. Is the way do not reject customer to be able

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
The question is not how to make captive portal on my NAS, the question is how do not reject customer, who reached max value of simultaneous-use? Regards, Alexander. 2011/12/20 Alan DeKok al...@deployingradius.com Alexander Kosykh wrote: I'm using Simultaneous-use := 1 and sql for check on my

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alan Buxey
Hi, The question is not how to make captive portal on my NAS, the question is how do not reject customer, who reached max value of simultaneous-use? if you dont care about them reaching that value, then why are you checking? but if you really do want to redirect them to an error

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
I tried to do this in my config session { # radutmp # # See Simultaneous Use Checking Queries in sql.conf sql if (Post-Auth-Type == reject) { ok block_auth_error # my own policy } } but radius answer is reject whatever and pppoe didn't up 2011/12/21 Alan Buxey a.l.m.bu...@lboro.ac.uk Hi

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Fajar A. Nugraha
On Wed, Dec 21, 2011 at 4:18 AM, Alexander Kosykh avkos...@gmail.com wrote: I tried to do this in my config session { # radutmp # # See Simultaneous Use Checking Queries in sql.conf sql if (Post-Auth-Type == reject) { ok block_auth_error # my own policy } } but radius answer

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Fajar A. Nugraha
On Wed, Dec 21, 2011 at 5:29 AM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Dec 21, 2011 at 4:18 AM, Alexander Kosykh avkos...@gmail.com wrote: I tried to do this in my config but radius answer is reject whatever and pppoe didn't up You know what, since you say it's pppoe, I can share a

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
Hi. I knew how to make all you wrote above. I need to know how to accept customer, when sim-use rejected him. Regards, Alexander. 2011/12/21 Fajar A. Nugraha l...@fajar.net On Wed, Dec 21, 2011 at 5:29 AM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Dec 21, 2011 at 4:18 AM, Alexander

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Fajar A. Nugraha
, depends on what you use) from session section. Then simultaneous-use check will be disabled (e.g. user will be accepted no matter whether they're already logged in or not). You will still be able to examine user status and limit using unlang from %{control:Simultanenous-Use} (which gets its value from

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
. I knew how to make all you wrote above. Are you sure? I need to know how to accept customer, when sim-use rejected him. Cause if you do, you wouldn't ask that. Easiest way: simply remove sql (or radutmp, depends on what you use) from session section. Then simultaneous-use check

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Fajar A. Nugraha
On Wed, Dec 21, 2011 at 1:22 PM, Alexander Kosykh avkos...@gmail.com wrote: How to make checkrad, if disable all in session section? checkrad should be disabled (i.e. not called by FR) when you comment-out radutmp from session section. You should still be able to run it manually $ checkrad

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Alexander Kosykh
Do you have some examples, which work fast to handle 10 AAA/second and check sim-use without freeradius standart methods? Regards, Alexander. 2011/12/21 Fajar A. Nugraha l...@fajar.net I belive I responded to a similar question yesterday (search the list archive). You just have to deal with

Re: Simultaneous-use check but don't reject

2011-12-20 Thread Fajar A. Nugraha
On Wed, Dec 21, 2011 at 2:10 PM, Alexander Kosykh avkos...@gmail.com wrote: Do you have some examples, which work fast to handle 10 AAA/second and check sim-use without freeradius standart methods? Did you read what I wrote earlier? All the concepts are there. Converting it to actual code is

Re[2]: configuration freeradius for no simultaneous use

2011-12-02 Thread tolik_shavlov...@mail.ru
Dear Alan, i added  Simultaneous-Use = 1 to user profile in users file. 02 декабря 2011, 11:49 от Alan DeKok-2 [via FreeRadius] ml-node+s1045715n5040921...@n5.nabble.com: [hidden email] wrote: i need your help in configuration freeradius for no simultaneous use.   doc/Simultaneous

Re: Re[2]: configuration freeradius for no simultaneous use

2011-12-02 Thread Fajar A. Nugraha
On Fri, Dec 2, 2011 at 3:37 PM, tolik_shavlov...@mail.ru tolik_shavlov...@mail.ru wrote: Dear Alan, i added  Simultaneous-Use = 1 to user profile in users file. Did you read the doc? Or the reply I sent earlier? It requires MORE than just that. -- FAN - List info/subscribe/unsubscribe? See

Re[4]: configuration freeradius for no simultaneous use

2011-12-02 Thread Толик Шавловский
Dear Alan, i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS and check user session. Am i right? 02 декабря 2011, 12:43 от Fajar A. Nugraha l...@fajar.net: On Fri, Dec 2, 2011 at 3:37 PM

Re: Re[4]: configuration freeradius for no simultaneous use

2011-12-02 Thread Fajar A. Nugraha
2011/12/2 Толик Шавловский tolik_shavlov...@mail.ru: Dear Alan, I assume you want help from anyone, not just Alan, so I'll add some comments here. i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS

Re[6]: configuration freeradius for no simultaneous use

2011-12-02 Thread tolik_shavlov...@mail.ru
. i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS and check user session. Am i right? That's one way to do that (and possibly the most accurate way). But not the ONLY way. You can make it work

Re[7]: configuration freeradius for no simultaneous use

2011-12-02 Thread Толик Шавловский
, not just Alan, so I'll add some comments here. i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS and check user session. Am i right? That's one way to do that (and possibly the most accurate way

Re: configuration freeradius for no simultaneous use

2011-12-02 Thread Alan DeKok
Толик Шавловский wrote: So, i indicated nastype = cisco will freeradius connect to nas in this case? Only if the server receives accounting packets, AND a user session is still open, AND that user tries to log in a second time from a different location. Alan DeKok. - List

Re[6]: configuration freeradius for no simultaneous use

2011-12-02 Thread tolik_shavlov...@mail.ru
assume you want help from anyone, not just Alan, so I'll add some comments here. i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS and check user session. Am i right? That's one way to do

configuration freeradius for no simultaneous use

2011-12-01 Thread tolik_shavlov...@mail.ru
Hi, i need your help in configuration freeradius for no simultaneous use. So, i need one active user per login/password. I configured user as follow: te...@wimax.com Cleartext-Password := test Framed-Filter-Id = SP=data:MSF=data;, Simultaneous-Use = 1, but my WIMAX CPEs

Re: configuration freeradius for no simultaneous use

2011-12-01 Thread Fajar A. Nugraha
On Fri, Dec 2, 2011 at 2:31 PM, tolik_shavlov...@mail.ru tolik_shavlov...@mail.ru wrote: Hi, i need your help in configuration freeradius for no simultaneous use. simultanouse use limit is somewhat ... awkward. So, i need one active user per login/password. I configured user as follow

Re: configuration freeradius for no simultaneous use

2011-12-01 Thread Alan DeKok
tolik_shavlov...@mail.ru wrote: i need your help in configuration freeradius for no simultaneous use. doc/Simultaneous-Use See also the Wiki. Have you read that documentation and followed the instructions there? Alan DeKok. - List info/subscribe/unsubscribe? See http

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-09 Thread Alan DeKok
, is there any way to get simultaneous-use to work if a given NAS doesn't send accounting packets to the radius server? 3rd party software? I already gave you my opinion. Do you think asking again will change it? Do you think I was lying to you the first time? Alan DeKok. - List info/subscribe

Simultaneous-Use For Group Using Unlang

2011-11-09 Thread det.explo...@yahoo.com
Hi, I was able to implement simultaneous-use checking for a group using exec-program-wait attribute. So a user logging in which belongs to the group will be checked against that attribute. It is working but I worry that with too many connections coming from this group of users, it will exhaust

Re: Simultaneous-Use For Group Using Unlang

2011-11-09 Thread Alan DeKok
det.explo...@yahoo.com wrote: I'd like to implement this using unlang but not sure where to start. The part that I am having difficulty is on where to create the procedure and how to call the procedure. The rest of the things like the DB query I can reuse from the existing program. I want

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-09 Thread Erik
fashion.  Fix one thing at a time.  There's a good reason checkrad isn't run. The reason is documented. Could you maybe point me to the document? I've read through alot of them including http://freeradius.org/radiusd/doc/Simultaneous-Use. Remember, I've set the NAS to cisco but checkrad still

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-09 Thread Alan DeKok
previous posts: ADK: If you've configured Simultaneous-Use, then there should be *something* about checkrad in the output. I don't see anything relating to checkrad in the debug output. For the reasons outlined in man checkrad. ADK: Checkrad is called because the server may not have

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-09 Thread Erik
 It does.  It works.  See man checkrad. Checkrad is called to double-check duplicate logins. Thank you, I understand now.  The guy using exec-program-wait for Simultaneous-Use was doing something different.  That was clear from his post. Not to me - this is a new world for me I'm doing

Re: Simultaneous-Use For Group Using Unlang

2011-11-09 Thread Det Det
Subject: Re: Simultaneous-Use For Group Using Unlang det.explo...@yahoo.com wrote: I'd like to implement this using unlang but not sure where to start. The part that I am having difficulty is on where to create the procedure and how to call the procedure. The rest of the things like the DB query I

Re: Simultaneous-Use For Group Using Unlang

2011-11-09 Thread Fajar A. Nugraha
On Thu, Nov 10, 2011 at 9:27 AM, Det Det det.explo...@yahoo.com wrote: Hi, Where do I put this piece of code? Can I do this invocation in the authorize block? Or is it something I put in the radiusd.conf? man unlang Requests are processed through virtual servers (including the default one),

Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-08 Thread Erik
- FreeRadius Version: 2.1.10 - Hello All, I've been going in circles for days on how to come up with a workaround to get simultaneous-use checking working on my FreeRadius + PEAP MSCHAPv2 deployment. I have read

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-08 Thread Alan DeKok
Erik wrote: I've been going in circles for days on how to come up with a workaround to get simultaneous-use checking working on my FreeRadius + PEAP MSCHAPv2 deployment. I have read through seemingly all of the posts... I suspect certain areas which might be causing the problem: 1) my NAS

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-08 Thread Erik
, finger, or rusers? Your guidance here would really help so I can make sure I acquire appropriate NAS' in the future. Generally, is there any way to get simultaneous-use to work if a given NAS doesn't send accounting packets to the radius server? 3rd party software? thanks, I appreciate your help

Re: Simultaneous-Use Checking with FreeRadius + MYSQL

2011-11-08 Thread Fajar A. Nugraha
mechanism (read the file checkrad, it's documented). You could even modify it and write your own mechanism. guidance here would really help so I can make sure I acquire appropriate NAS' in the future. Generally, is there any way to get simultaneous-use to work if a given NAS doesn't send accounting

RES: Trying to solve a Simultaneous-Use problem

2011-10-11 Thread Nataniel Klug
[mailto:freeradius-users- bounces+listas.nata=cnett.com...@lists.freeradius.org] Em nome de Marinko Tarlac Enviada em: segunda-feira, 10 de outubro de 2011 17:59 Para: FreeRadius users mailing list Assunto: Re: Trying to solve a Simultaneous-Use problem We discuss at least once per week about stalled

Re: RES: Trying to solve a Simultaneous-Use problem

2011-10-11 Thread Arran Cudbard-Bell
On 11 Oct 2011, at 13:34, Nataniel Klug wrote: Arran, Thanks for your answer. So to test the NAS what should I use? A ping packet in a shell script? Yes. Or an SNMP request. Arran Cudbard-Bell a.cudba...@freeradius.org Betelwiki, Betelwiki, Betelwiki

Re: about Simultaneous-Use and Multiple NAS

2011-10-10 Thread Alexandre Chapellon
Set simultaneous login limit to 1 for the account and add the NAS IP address in there where clause of the simul_count_query. Note that doing so require use of an rlm_sql module in the the session section of freeradius config. Regards. Le 10/10/2011 04:48, Dagia Dorjsuren a écrit : Hello,

Re: Trying to solve a Simultaneous-Use problem

2011-10-10 Thread Arran Cudbard-Bell
So, my question is: how can I use Simultaneous-Use in this scenario? Should I make a script that test if the NAS is online every 10 seconds and if not list all clients connect and stop that connections? Should this work? Is there anyone with the same scenario that can share

Re: Trying to solve a Simultaneous-Use problem

2011-10-10 Thread Marinko Tarlac
We discuss at least once per week about stalled sessions... Search before you ask... On 10/10/2011 10:49 PM, Arran Cudbard-Bell wrote: So, my question is: how can I use Simultaneous-Use in this scenario? Should I make a script that test if the NAS is online every 10

Re: Trying to solve a Simultaneous-Use problem

2011-10-10 Thread adx grave
On Tue, Oct 11, 2011 at 3:44 AM, Nataniel Klug listas.n...@cnett.com.brwrote: Hello all, ** ** I am trying to solve a problem about Simultaneous-Use, not in the code because it’s working, but inside my network layout. I have two different NAS the can

about Simultaneous-Use and Multiple NAS

2011-10-09 Thread Dagia Dorjsuren
Hello,     Anyone advise me for my below problem pls.     How to configure simultaneous login count for each NAS?     for example : there is one account and 2 NAS like NAS1 and NAS2. That account's total simultaneous login count is 2.     So, there is that account's first simultaneous login

Re: Using DB instead of radutmp for simultaneous-use tracking

2011-10-04 Thread Det Det
: Fajar A. Nugraha l...@fajar.net To: Det Det det.explo...@yahoo.com; FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Friday, September 30, 2011 3:11 PM Subject: Re: Using DB instead of radutmp for simultaneous-use tracking On Fri, Sep 30, 2011 at 1:50 PM, Det Det det.explo

Re: Using DB instead of radutmp for simultaneous-use tracking

2011-10-04 Thread Fajar A. Nugraha
On Tue, Oct 4, 2011 at 4:47 PM, Det Det det.explo...@yahoo.com wrote: Hi, Thanks a lot! Got it working! I'd like to extend the simul-check to group simul value. That is a group has simul limit, then if limit is reached a user belonging to that group should be denied login. Any idea how to

Using DB instead of radutmp for simultaneous-use tracking

2011-09-30 Thread Det Det
Hi there, In the accounting section, radutmp is used for tracking simultaneous-use. Is there a way to use DB::radacct table instead to check for simultaneous-use? thanks, det - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Using DB instead of radutmp for simultaneous-use tracking

2011-09-30 Thread Fajar A. Nugraha
On Fri, Sep 30, 2011 at 1:50 PM, Det Det det.explo...@yahoo.com wrote: Hi there, In the accounting section, radutmp is used for tracking simultaneous-use. Is there a way to use DB::radacct table instead to check for simultaneous-use? Sure. Comment-out radutmp and uncomment sql from session

Simultaneous Use Per Domain

2011-09-06 Thread Det Det
Hi, Just want to get inputs on how simultaneous-use can be checked per domain not per user. That is limit mydomain.com to have simultaneous-use=x. radgroupcheck will have something like mydomain.com -- simultaneous-use -- x thanks! det - List info/subscribe/unsubscribe? See http

simultaneous-use with checkrad

2011-06-24 Thread tyll...@gmail.com
Hi I know its not the best way to do it but I would really like to use simultaneous-use attribute without using the checkrad script. meaning the radius server does the check in radacct table and if the check is true, deny authentication. is this possible? I am using sql and in the radgroupcheck

Re: Simultaneous-Use and UserName sent from NAS

2011-06-10 Thread Ziggy Bopster
Hi Alan,  Read doc/Simultaneous-Use.  It's a how-to, and most questions are answered there. Thank you.. I will re-read the Simultaneous-Use Doc again.. I may have to start from a simple configuration, before trying to integrate that with e-Directory.  Ugh.  Upgrade to 2.1.10. I'll upgrade

Re: Simultaneous-Use and UserName sent from NAS

2011-06-10 Thread Ziggy Bopster
for Ziggy. I'll have to check on that with them. ??? SQL should be faster, and easier to manage Great.. If I only want to use SQL for Simultaneous-Use checking (and not User Authentication), is that going to work? I want to use LDAP for Authenticaiton.. Sure. In fact, once I get EVERYTHING worked

Re: Simultaneous-Use and UserName sent from NAS

2011-06-09 Thread Alan DeKok
Ziggy Bopster wrote: I am want to enable Simultaneous-Use for our users. I have been stuck for many many days trying to figure this out, any help is greatly appreciated. This is my first time posting, so sorry if my netiquette is not correct Read doc/Simultaneous-Use. It's a how

Re: Simultaneous-Use and UserName sent from NAS

2011-06-09 Thread Fajar A. Nugraha
worked out just like I wanted, I usually remove unnecessary components. If your all your user configuration and acct data is on sql, then you should be able to remove some configuration lines (e.g. unix, radutmp, detail, etc.) 4) What do I need to do to get Simultaneous-Use to work properly

Help with simultaneous use and radutmp

2011-04-23 Thread Rodrigo Yoshioka
Hi folks. I have a FreeRadius server working with Mikrotik as NAS, and I'm often receiveing message of multiple connection at log, and the user is not able to connect. I found some solutions at google but it's to whom uses freeradius with sql as session manager. I'm using radutmp file

Re: Help with simultaneous use and radutmp

2011-04-23 Thread Fajar A. Nugraha
On Sun, Apr 24, 2011 at 6:06 AM, Rodrigo Yoshioka ro_yoshioka2...@yahoo.com.br wrote: Hi folks. I have a FreeRadius server working with Mikrotik as NAS, and I'm often receiveing message of multiple connection at log, and the user is not able to connect. I found some solutions at

Re: Help with simultaneous use and radutmp

2011-04-23 Thread Rodrigo Yoshioka
freeradius-users@lists.freeradius.org Enviadas: Sábado, 23 de Abril de 2011 23:54 Assunto: Re: Help with simultaneous use and radutmp On Sun, Apr 24, 2011 at 6:06 AM, Rodrigo Yoshioka ro_yoshioka2...@yahoo.com.br wrote: Hi folks. I have a FreeRadius server working with Mikrotik as NAS

Re: Help with simultaneous use and radutmp

2011-04-23 Thread Fajar A. Nugraha
On Sun, Apr 24, 2011 at 10:15 AM, Rodrigo Yoshioka ro_yoshioka2...@yahoo.com.br wrote: Hi, I thought that there would have another way to solve that. I tried once to change the session manager to sql, but it stopped working, I had a problem with simul_verify_query in an old FR setup

Simultaneous-Use = 1 not working

2011-02-06 Thread raisedtozero
comment out this item. # radwtmp = ${logdir}/radwtmp } /nabble_embed and my users file is this: nabble_embed DEFAULT Auth-Type = System Simultaneous-Use = 1, Fall-Through = 1 /nabble_embed Ive configured my clients files

Re: Simultaneous-Use = 1 not working

2011-02-06 Thread Alan DeKok
raisedtozero wrote: Hello Ive configured my clients files and has the proper NAS type. Problem is multiple user can login. How do i resolve that? Read doc/Simultaneous-Use Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

I have refered the doc again, and found some problem when the Vendor is PPP using simultaneous-use

2010-09-29 Thread Spacelee
or disconnect, which will leave the record of the user still online in the database, I have to clear it up manually, that 's not convenient. So what should I do with PPTP+PPP+Freeradius+MySQL when I have to set the simultaneous-use = 1 -- *Space Lee* - List info/subscribe/unsubscribe? See http

Simultaneous use

2010-09-02 Thread Tom Cooper
hi all, I have to implement Simultaneous-Use on my freeraduis. Running freeradius-2.1.9-2 on CentOS 5.4 64 bit. I have followed all the steps listed here: http://www.how2forge.org/authentication-authorization-and-accounting-with-freeradius-and-mysql-backend-and-webbased-management

Re: Simultaneous use

2010-09-02 Thread Alan DeKok
Tom Cooper wrote: hi all, I have to implement Simultaneous-Use on my freeraduis. Running freeradius-2.1.9-2 on CentOS 5.4 64 bit. I have followed all the steps listed here: http://www.how2forge.org/authentication-authorization-and-accounting-with-freeradius-and-mysql-backend-and-webbased

Re: Simultaneous-Use

2010-08-31 Thread Student University
its worked after changing the NAS type to other instead of cisco , On Mon, Aug 30, 2010 at 11:19 PM, ziko emobux...@yahoo.com wrote: Go to /etc/raddb/sql/mysql/dialup.conf file and find Simultaneous Use Checking Queries and there uncomment needed lines. then add simultaneous-use attribute

Simultaneous-Use

2010-08-30 Thread Student University
Dears , anyone has been successfully configured Simultaneous-Use:=1 if so please share this experience . Best Regards - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Simultaneous-Use

2010-08-30 Thread ziko
Go to /etc/raddb/sql/mysql/dialup.conf file and find Simultaneous Use Checking Queries and there uncomment needed lines. then add simultaneous-use attribute to user. It worked for me. From: Student University studen...@gmail.com To: FreeRadius users mailing

Simultaneous-Use

2010-08-28 Thread Student University
Dears , i configured *Simultaneous*-*Use:=1 , i followed the document step by step but i noticed that radutmp not updated and when check this file using radwho i see an entries for previously logged users even i disconnect all users ,,, Best Regard , * - List info/subscribe/unsubscribe? See

Problem about simultaneous-use parameter and windows DC.

2010-08-06 Thread 李程
no idea how to enable the simultaneous-use parameter, because tables of Users database is actually empty, all user informations are in the windows DC. Is there any way to enable the simultaneous-use parameter? Thanks! Miles - List info/subscribe

Re: Problem about simultaneous-use parameter and windows DC.

2010-08-06 Thread Alan DeKok
李程 wrote: But now we have no idea how to enable the simultaneous-use parameter, because tables of Users database is actually empty, all user informations are in the windows DC. Is there any way to enable the simultaneous-use parameter? doc/Simultaneous-Use This is documented. Alan

RE: Problem about simultaneous-use parameter and windows DC.

2010-08-06 Thread 李程
@lists.freeradius.org Subject: Re: Problem about simultaneous-use parameter and windows DC. 李程 wrote: But now we have no idea how to enable the simultaneous-use parameter, because tables of Users database is actually empty, all user informations are in the windows DC. Is there any way to enable

Re: Problem about simultaneous-use parameter and windows DC.

2010-08-06 Thread Alan DeKok
it to 'Users' or rad*check table. And there is nothing about windows DC. Because using a Windows DC is irrelevant. The Simultaneous-Use functionality doesn't use a Windows DC. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Problem about simultaneous-use parameter and windows DC.

2010-08-06 Thread 李程
Date: Fri, 6 Aug 2010 08:53:22 +0200 From: al...@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: Problem about simultaneous-use parameter and windows DC. 李程 wrote: I've read that. But found nothing useful. Nonsense: This solution checks the radutmp

Fwd: return a special value in reply when simultaneous use

2010-07-23 Thread Ana Gallardo
Hello again, I continue working on this, but I can't find the solution. Can I check the result of simul_count_query? Thank you again Ana Gallardo Gómez - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: return a special value in reply when simultaneous use

2010-07-23 Thread Ana Gallardo
Hello again, I'm working with Freeradius 2.1.8 I'm using session (sql) to control simultaneous use. I would like to return a special value if an user try to access with credentials in use. I have it working adding a new attribute to request list whit the result of the simul_count_query

return a special value in reply when simultaneous use

2010-07-21 Thread Ana Gallardo
Hello, I'm working with Freeradius 2.1.8 I'm using session (sql) to control simultaneous use. I would like to return a special value if an user try to access with credentials in use. Group session {...} always resturns ok, so I don't know what can I do in post-auth to distinguish between all

Re: About Simultaneous-Use

2010-07-19 Thread Alan DeKok
Tian wrote: I Install FreeRadius in FreeBSD through Ports. I run radius -X ... run radtest is OK! BUT Simultaneous-Use IS NOT AVAIL !! WHY? This is documented. See doc/Simultaneous-Use Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

simultaneous-use via exec ?

2010-03-19 Thread power159
hi all I am trying to load simultaneous-use parameter via exec . I have tried it in any section ( authorize / accounting / post-auth and .. ) at beginning and end of the section , but I dont know why freeradius is not reading it .. its just working when I am using it in sql . - List info

Re: simultaneous-use via exec ?

2010-03-19 Thread Alan DeKok
power159 wrote: I am trying to load simultaneous-use parameter via exec . What does that mean? I have tried it in any section ( authorize / accounting / post-auth and .. ) at beginning and end of the section , but I dont know why freeradius is not reading it .. its just working when I am

Re: fradius v2.1.7 Simultaneous-Use

2010-03-13 Thread Marinko Tarlac
Every day at least once, someone asks this question... Mark wrote: Hi list, I have been trying to find out more information regarding the use of the Simultaneous-Use option for FreeRadius. I have been checking google and most guides seem to point to /etc/raddb/sql.conf and to uncomment

RE: fradius v2.1.7 Simultaneous-Use

2010-03-12 Thread Mark
Hi list, I have been trying to find out more information regarding the use of the Simultaneous-Use option for FreeRadius. I have been checking google and most guides seem to point to /etc/raddb/sql.conf and to uncomment the appropriate lines. However, I have not been able to find

Re: fradius v2.1.7 Simultaneous-Use

2010-03-12 Thread Alan DeKok
Mark wrote: I have been trying to find out more information regarding the use of the Simultaneous-Use option for FreeRadius. I have been checking google Why? This *is* documented in the server. See doc/Simultaneous-Use Alan DeKok. - List info/subscribe/unsubscribe? See http

simultaneous-use doc

2010-03-01 Thread J Brandon Polley
I am trying to understand the simultaneous-use docI am having trouble with a part that says:Note that you need to add the Simultaneous-Use parameter to the check item (first line), not the reply item, using the ':=' operator.I am not sure where to add the Simultaneous-Use parameter. Does it go

Re: simultaneous-use doc

2010-03-01 Thread Alan DeKok
J Brandon Polley wrote: I am trying to understand the simultaneous-use doc I am having trouble with a part that says: Note that you need to add the Simultaneous-Use parameter to the check item (first line), not the reply item, using the ':=' operator. I am not sure where to add

Re: Re: Simultaneous-Use problem with Mikrotik NAS clients

2010-02-12 Thread Fojtán Balázs István
Hello Fajar, mysql select * from radgroupreply; ++---+--++---+ | id | GroupName | Attribute ? ? ? ?| op | Value | ++---+--++---+ | ?1 | HZ ? ? ? ?| Simultaneous-Use | := | 1

Re: Re: Simultaneous-Use problem with Mikrotik NAS clients

2010-02-12 Thread Chris Knipe
| ++---+--++---+ | ?1 | HZ ? ? ? ?| Simultaneous-Use | := | 1 ? ? | ++---+--++---+ Shouldn't this be on radgroupcheck? My radgroupcheck table is empty. Does it cause the problem? Regards, fbi - List info/subscribe/unsubscribe? See http

Re: Re: Simultaneous-Use problem with Mikrotik NAS clients

2010-02-12 Thread Fojtán Balázs István
Hello, Yes, Simulaneous-Use is a check item, not a reply. Ok, I did this mistake, sorry. Now I've deleted the Simultaneous-Use := 1 record from radgroupreply (now this is empty), and inserted it into the radgroupcheck. mysql select * from radgroupcheck

Simultaneous-Use problem with Mikrotik NAS clients

2010-02-12 Thread Fojtán Balázs István
Hello, After I've made your suggested change (inserted the Simultaneous-Use := 1 record into radgroupcheck table), the checkrad.pl script run, when I use radtest to a user, who is listed by radwho. I've set the $debug, $snmpget, $snmpwalk, $cmmty_string variables in the /usr/sbin/checkrad. After

Re: Simultaneous-Use problem with Mikrotik NAS clients

2010-02-11 Thread Fajar A. Nugraha
2010/2/11 Fojtán Balázs István bal...@fojtan.hu: simul_count_query = SELECT COUNT(*) \ FROM ${acct_table1} \ WHERE username = '%{SQL-User-Name}' \ AND acctstoptime IS NULL it uses ${acct_table1} (should be radacct by default). Have you enabled accounting? mysql select * from radcheck;

Re: Re: Simultaneous-Use problem with Mikrotik NAS clients

2010-02-11 Thread Fojtán Balázs István
Hello Fajar, thanks for your rapid response! simul_count_query = SELECT COUNT(*) \ FROM ${acct_table1} \ WHERE username = '%{SQL-User-Name}' \ AND acctstoptime IS NULL it uses ${acct_table1} (should be radacct by default). Have you enabled accounting? Yes, the accounting is working. It is

  1   2   3   4   >