Re: Send Reject When User Logged In Already

2009-11-02 Thread boyali kus
Yes this is exactly what I want. Thank you Ivan! > If you don't want checkrad.pl to check with NAS (ie only look in the > radacct table) set nastype as other in clints.conf. > > Ivan Kalik > Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Send Reject When User Logged In Already

2009-11-02 Thread Ivan Kalik
> Here is the debug output: > > .. > ++[mschap] returns ok > +- entering group session {...} > [sql] expand: %{User-Name} -> usertr2048 > [sql] sql_set_user escaped user --> 'usertr2048' > [sql] expand: SELECT COUNT(*) FROM > radacct

Re: Send Reject When User Logged In Already

2009-11-02 Thread boyali kus
Hello Again, Here is the debug output: .. ++[mschap] returns ok +- entering group session {...} [sql] expand: %{User-Name} -> usertr2048 [sql] sql_set_user escaped user --> 'usertr2048' [sql] expand: SELECT COUNT(*) FROM radacct WH

Re: Send Reject When User Logged In Already

2009-10-31 Thread Alan DeKok
boyali kus wrote: > The document says: > 1. PREREQUISITES : You need to have perl installed. > Why? I do not want to query the NAS against the user attempting to > connect to see if it is connected already. The only data I want to > consider is radacct table. I added Simultaneous-Use:=1 also but n

Re: Send Reject When User Logged In Already

2009-10-31 Thread boyali kus
Dear Mr. Alan, It's a pleasure to get a response from you. I have read the document several times. There is some point I cannot make clear. The document says: 1. PREREQUISITES : You need to have perl installed. Why? I do not want to query the NAS against the user attempting to connect to see if

Re: Send Reject When User Logged In Already

2009-10-31 Thread Alan DeKok
boyali kus wrote: > In my test environment I use a Mikrotik RB333 as NAS and FreeRADIUS 2.1.7. > How can I make this Simultaneous Use Checking Queries work? read doc/Simultaneous-Use Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Send Reject When User Logged In Already

2009-10-31 Thread boyali kus
Dear Users, In my test environment I use a Mikrotik RB333 as NAS and FreeRADIUS 2.1.7. How can I make this Simultaneous Use Checking Queries work? Although I uncommented simul_count_query in dialup.conf I cannot see any difference and users can still logon simultaneously (radwho displays same user