Re: Accounting-Request/Accounting-Response question

2008-05-17 Thread Alan DeKok
Tuc at T-B-O-H.NET wrote: I'm looking into the Accounting-Request packet for the following : *** DUMP OF RADIUS PACKET (Net::Radius::Packet=HASH(0x834ac1c)) Code: Accounting-Request Identifier: 1 Authentic:

Re: freeRADIUS and WPA-2 Enterprise

2008-05-17 Thread A . L . M . Buxey
Hi, We are trying to setup WPA2 Enterprise authentication to work with the FreeRadius server. We have configured EAP-PEAP authentication. We have installed all the certificates and corrected the EAP.conf certificate paths. We tried to connect from the supplicant from Windows XP. Windows asked

Re: Forcing lowercase User-Name with rlm_perl

2008-05-17 Thread Krzysztof Olędzki
On 2008-05-17 02:09, Chris wrote: I basically want User-Name to be forced to lowercase for the duration of the request. I have done the following: modules { perl { module = my_perl_module.pm } } authorize { preprocess perl ... }

Re: help need with mysql statement in freeradius

2008-05-17 Thread Bishal
Hi all, After many trial and errors my perl modules is working great. Thanks IVan, Alan and all of who helped me a lot. Well I am not programmer but search in google and you guys helped me a lot. One thing is I am not able to log my custom message of perl modules in radius.log. Is it

Re: help need with mysql statement in freeradius

2008-05-17 Thread Ivan Kalik
Put the log line before return. Ivan Kalik Kalik Informatika ISP Dana 17/5/2008, Bishal [EMAIL PROTECTED] piše: Hi all, After many trial and errors my perl modules is working great. Thanks IVan, Alan and all of who helped me a lot. Well I am not programmer but search in google and you

Re: help need with mysql statement in freeradius

2008-05-17 Thread A . L . M . Buxey
Hi, $RAD_REPLY{'Reply-Message'} = Mac Address Successfully updated in database $RAD_REQUEST{'Calling-Station-Id'}; return RLM_MODULE_OK; # Do some logging. radiusd::radlog(1,rlm_perl:: NEW MAC updated in database.); note the order of

Re: freeRADIUS and WPA-2 Enterprise

2008-05-17 Thread Alan DeKok
William E. Russell wrote: We are trying to setup WPA2 Enterprise authentication to work with the FreeRadius server. We have configured EAP-PEAP authentication. We have installed all the certificates and corrected the EAP.conf certificate paths. We tried to connect from the supplicant from

Re: Forcing lowercase User-Name with rlm_perl

2008-05-17 Thread Chris
On May 17, 2008, at 6:31 AM, Krzysztof Olędzki wrote: On 2008-05-17 02:09, Chris wrote: I basically want User-Name to be forced to lowercase for the duration of the request. I have done the following: modules { perl { module = my_perl_module.pm } } authorize

Re: Turning on sql in accounting - 2 questions

2008-05-17 Thread NPY
2. Why am I getting 3 rows of data in table radacct for each session? Read the debug log. It's likely that the NAS isn't sending a consistent Acct-Session-Id. I found out why. NAS is sending the Accounting Request packet 3 times to the radius server because the radius server is not