Regular expressions on module 'files' (possible bug?)

2009-01-10 Thread Flamur Rogova
Hi, On 'users' file I have this entry; b2 User-Password := "b2", Calling-Station-ID =~ "(00:10:B5:7A:13:BD)", Expiration := "28 Feb 2009 23:00:00" this entry should match only if Calling-Station-Id equals to "00:10:B5:7A:13:BD". on my case, it matches always, no matter what I send as Cal

Re: sqlcounter returning wrong value?

2008-11-12 Thread Flamur Rogova
ot; ) { # traffic bytes limit reached reject } } Regards, Flamur - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: strange rlm_expiration behavior

2008-10-02 Thread Flamur Rogova
Nicolas Goutte wrote: Previous answers to questions about user expiration told to write dates like Expiration := "May 10 2008 21:00:00" So in your case, you should perhaps try: Expiration := "Jan 01 2009 00:00:00" Have a nice day! Am 01.10.2008 um 11:31 schrieb Fl

strange rlm_expiration behavior

2008-10-01 Thread Flamur Rogova
on] returns userlock Wed Oct 1 11:22:43 2008 : Info: Using Post-Auth-Type Reject Wed Oct 1 11:22:43 2008 : Info: +- entering group REJECT {...} Wed Oct 1 11:22:43 2008 : Info: [attr_filter.access_reject]expand: %{User-Name} -> a Wed Oct 1 11:22:43 2008 : Debug: attr_filter: Matched entry DEFAULT at line 11 Wed Oct 1 11:22:43 2008 : Info: ++[attr_filter.access_reject] returns updated Wed Oct 1 11:22:43 2008 : Info: Delaying reject of request 0 for 1 seconds Wed Oct 1 11:22:43 2008 : Debug: Going to the next request Wed Oct 1 11:22:43 2008 : Debug: Waking up in 0.9 seconds. Wed Oct 1 11:22:44 2008 : Info: Sending delayed reject for request 0 Sending Access-Reject of id 80 to 10.241.21.202 port 4870 Reply-Message += "Password Has Expired\r\n" Wed Oct 1 11:22:44 2008 : Debug: Waking up in 4.9 seconds. Thanks, Flamur - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

sql insert via unlang

2008-06-19 Thread Flamur Rogova
ays it is possible to obtain results from db, but I need to execute only sql INSERT, is my syntax wrong ? Thanks, Flamur - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Problems with reject_delay in 2.0.5

2008-06-18 Thread Flamur Rogova
Hi, I am testing 2.0.5 and found that my reject-delays are always close to zero ms (16ms, or 0ms). I use rlm_fastusers, and my reject_delay (in radiusd.conf) is 1. This happens in both debug and non-debug mode. Has anybody else had similar problems ? Thanks, Flamur - List info/subscribe

multiple sessions with static IP assignment

2008-05-23 Thread Flamur Rogova
Framed-Ip-Address := "192.168.0.1", (other reply attributes...) test1 Cleartext-Password :="test1", Simultaneous-Use := 2 Framed-Ip-Address := "192.168.0.2", (other reply attributes...) Is something like this possible ? thanks,

SQLIP pool backend - MySQL or PostgreSQL

2008-05-07 Thread Flamur Rogova
you have a lot of connections towards db... Could you share your experience/opinions on sqlip/MySQL or sqlip/PostgreSQL under heavy load, if you use any ? Thanks, Flamur - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_python & freeradiusd 2.0.2

2008-02-17 Thread Flamur Rogova
Hi, Python interpreter can not find your script. You can set your PYTHONPATH environmet variable to be the path where you have radiusd_isp.py, set it in your radius startup script. Cheers, Flamur Rogova export PYTHONPATH=/home/scripts Alexander Demidoff wrote: Hello all! I want to use

Simultaneous-Use implementation in rlm_python

2006-08-31 Thread Flamur Rogova
hat should func_checksimul return to signify that user is already logged on / not loged on ? Is it safe to use this feature in production ? Regards, Flamur Rogova - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Cisco auth-proxy / radius

2004-09-15 Thread flamur
packet (something like Session-Timeout attribute or whatever...). I have tried to send Session-Timeout attribute in radius reply packets to the NAS, but it doesnt work. Is there any way to control user's session time from radius reply packets, in cisco auth-proxy/radius setup ? regards, F

module execution order

2004-03-19 Thread flamur
Hi, I have installed freeradius 0.9.3 with python module and it works ok, and I have one question regarding module execution order. In my system i use both files and python module When files module returns ok, (the user is accepted), freeradius continues to execute next module (python). How