Re: Simultaneous-Use per NAS

2007-08-31 Thread YvesDM
On 8/30/07, Svend Eriksen [EMAIL PROTECTED] wrote: Hi, We run freeradius 1.1.6 against postgresql 8.1. With the current configuration the user can only login one time simultaneously. What I want is that a user can login only one time per NAS, but that the user can login on several NASes at

Re: Simultaneous-Use per NAS

2007-08-31 Thread Svend Eriksen
On 8/30/07, *Svend Eriksen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, We run freeradius 1.1.6 against postgresql 8.1. With the current configuration the user can only login one time simultaneously. What I want is that a user can login only one time per NAS, but

Re: Simultaneous-Use per NAS

2007-08-31 Thread tnt
Make multiple sql instances - one for each NAS. Ivan Kalik Kalik Informatika ISP Dana 31/8/2007, Svend Eriksen [EMAIL PROTECTED] piše: On 8/30/07, *Svend Eriksen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, We run freeradius 1.1.6 against postgresql 8.1. With the

Re: Simultaneous-Use per NAS

2007-08-31 Thread Svend Eriksen
I'm sorry, but I dont understand what you mean. Can you please explain? reg Svend [EMAIL PROTECTED] skrev: Make multiple sql instances - one for each NAS. Ivan Kalik Kalik Informatika ISP Dana 31/8/2007, Svend Eriksen [EMAIL PROTECTED] piše: On 8/30/07, *Svend Eriksen* [EMAIL

Re: Simultaneous-Use per NAS

2007-08-31 Thread tnt
http://wiki.freeradius.org/Rlm_sql Ivan Kalik Kalik Informatika ISP Dana 31/8/2007, Svend Eriksen [EMAIL PROTECTED] piše: I'm sorry, but I dont understand what you mean. Can you please explain? reg Svend [EMAIL PROTECTED] skrev: Make multiple sql instances - one for each NAS. Ivan Kalik

Re: Simultaneous-Use per NAS

2007-08-31 Thread Roberto Greiner
I've got through the same problem, and based in some help I got here from the list I managed to solve the problem with a simple change to sql.conf, modifying the simul_count_query. The original entry: simul_count_query = SELECT COUNT(*) FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND

Simultaneous-Use per NAS

2007-08-30 Thread Svend Eriksen
Hi, We run freeradius 1.1.6 against postgresql 8.1. With the current configuration the user can only login one time simultaneously. What I want is that a user can login only one time per NAS, but that the user can login on several NASes at the same time. The reason for this is that a user can

Re: simultaneous-use per NAS

2007-03-19 Thread Alan DeKok
Marc Boisis-Delavaud wrote: Is it possible to allow only one authentication per NAS but not allow many authentication on the same NAS per user ? Yes. But you'll have to manage that DB yourself. With a little bit of code changes to rlm_radutmp, you could make the filename configurable, and