Re: Time based billing

2008-12-02 Thread Saeed Akhtar
Yes I know that freeradius doesn't know whether we are charging $ 1 or 2. But the purpose of asking question was that If a user has 3 hrs left @ $1/hr and after an hour the rate changes to 0.5/hr then technically freeradius should reply Session-Timeout = 5hrs as (1hr @ $1/hr + 4hrs @ $0.5/hr). So m

Re: Time based billing

2008-12-02 Thread mulianto
i Think freeradius doesn't know if you charge for 1$ or 2$, it just counting the time usage. it should be with your application task to do so.. On Tue, 2008-12-02 at 21:47 +0500, Saeed Akhtar wrote: > 0.5/hr from 1200 t - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users

Re: Rlm sqlcounter -- Data Based Counter

2008-12-02 Thread tnt
>#query = "SELECT SUM(OctetTotal) FROM thismonthsusage WHERE >UsernameView='%{%k}'" >} > .. >As soon as a new month rolls over there are NO accounting entries for that >user for that month, hence no record and freeradius denies user as he hasn't >got any entries, any body know how I should modify t

Re: Check on bytes used

2008-12-02 Thread Alexandre Chapellon
Le 02.12.2008 10:25, Marcel Grandemange a écrit : >> Its for Time. I want count on bytes used. and one other problem, its return >> > value is Session-Timeout. It represents >remaining time not remaining bytes. > any clue which attribute will tell remaining bytes??? > This attribute is N

Rlm sqlcounter -- Data Based Counter

2008-12-02 Thread Marcel Grandemange
Good Day. Im wondering is someone could assist me here. I currently have freeradius setup and working somewhat. However I have following setup: sqlcounter monthlytraffic { counter-name = Monthly-Traffic check-name = Max-Monthly-Traffic reply-na

RE: Check on bytes used

2008-12-02 Thread Marcel Grandemange
>Its for Time. I want count on bytes used. and one other problem, its return value is Session-Timeout. It represents >remaining time not remaining bytes. any clue which attribute will tell remaining bytes??? >Regards, It is also for data although that is VERY poorly documented and ive had many tro

OT - Question about Switches

2008-12-02 Thread Craig White
Sorry for the noise but this is actually related to my struggles with FreeRadius I am using FreeRadius and authenticating Windows RAS users (PPTP) Macintosh users via the same Windows RAS server using PPTP or L2TP, Macintosh WAP clients and iPhone clients without a problem. I am struggling with W

Re: Time based billing

2008-12-02 Thread tnt
> I want to ask that if there is some kind of flexibility in freeradius to >have time based billing. I want a customer to be charged at different rate >at different time. Like I want to introduce a package which has different >rate at morning eg. $1/hr from 0800 to 1200 then 0.5/hr from 1200 to 1

Time based billing

2008-12-02 Thread Saeed Akhtar
Hi all, I want to ask that if there is some kind of flexibility in freeradius to have time based billing. I want a customer to be charged at different rate at different time. Like I want to introduce a package which has different rate at morning eg. $1/hr from 0800 to 1200 then 0.5/hr from 1200

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread A . L . M . Buxey
Hi, > The current version of FreeRADIUS in RHEL5/CentOS is 1.1.3. It is very > unlikely the 1.1.3 version will ever be removed from RHEL5 because of > the commitment for version stability in an enterprise distribution. On whoah. apart from the fact that 1.1.3 had so many bugs and doesnt wo

WPA: Failed to get master session key from EAPOL state machines

2008-12-02 Thread Alexandre Thieme Reis
After i upgrade my fedora core 9 (freeradius 2.02) to fedora core 10 (freeradius 2.1.1) i receive this message when i attempt to connect to freeradius server. EAPOL: EAP key not available WPA: Failed to get master session key from EAPOL state machines My configuration: Server: fedora core 10 wit

Re: Is FreeRADIUS 2.1.1 capable of handling NAI decorations

2008-12-02 Thread Alan DeKok
Luca Adamo wrote: > FreeRADIUS 2.1.1 seems to be unable to process the NAI decoration What does that mean? The configuration language ("man unlang") has support for a wide range of attribute matching && re-writing methods. The *default* methods shipped in the example configuration files do n

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread John Dennis
John Dennis wrote: Alan DeKok wrote: Thanks. I've added a file "redhat/README" telling people to please go read that document. You're welcome. It's a good start and I hope it helps. FWIW we try to make sure the thousands of software packages in our distributions are well supported, it

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread John Dennis
Jos Vos wrote: On Tue, Dec 02, 2008 at 09:18:25AM +, [EMAIL PROTECTED] wrote: it would help immensely if Fedora, RHEL, CentOS et al actually supplied up to date version of FreeRADIUS - ie at least 2.0.5 (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!) if such a version w

Re: Is FreeRADIUS 2.1.1 capable of handling NAI decorations

2008-12-02 Thread A . L . M . Buxey
hi, quick hack/fix would be to either 1) set 'prefix' to be } with this, anything before and including } (which may never appear as a realm or username) would be treated like a NT domain and be stripped off logically 2) use attr_rewrite or unlang to remove the {blah blah} stuff and set the out

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread John Dennis
J Santos wrote: Thank you Dennis, It is a very, very useful document. Checking both distros RHEL and CentOS there are only old packages available (version 1.1.3) and only i386. I have a rpm already built but it is not properly working. Based on what you described in the doc I better insta

Is FreeRADIUS 2.1.1 capable of handling NAI decorations

2008-12-02 Thread Luca Adamo
Hi, I've been working and (also a little bit deploying) with FreeRADIUS 2.1.1 for a while and everything has been smooth enough. Today for the first time I step into a problem with the handling of NAI sent by the client through the NAS. The problem consists in the prensence of a WiMAX de

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread John Dennis
Alan DeKok wrote: Thanks. I've added a file "redhat/README" telling people to please go read that document. You're welcome. It's a good start and I hope it helps. FWIW we try to make sure the thousands of software packages in our distributions are well supported, it can be a daunting ta

Re: problem with proxying

2008-12-02 Thread Alan DeKok
Riccardo Veraldi wrote: > Hello, > freeradius 1.1.3 on CentOS 5.2 > > I have problem with proxying. > > In a normal proxying configuration > when the username contains a domain different from local defined one > the request is proxied to the DEFAULT proxy entry. > > Here instead proxy does not h

Re: Freeradius 2.1.1 - locked processes

2008-12-02 Thread Alan DeKok
George Chelidze wrote: > Alan DeKok wrote: >> It doesn't. That's likely a side-effect of function call trampolines, >> or something similar. >> > can you explain this in more details in a couple of words, thinking > about this problem for 4-5 days:) Sometimes code gets put on the stack, and e

Re: Freeradius 2.1.1 - locked processes

2008-12-02 Thread George Chelidze
Alan DeKok wrote: It doesn't. That's likely a side-effect of function call trampolines, or something similar. can you explain this in more details in a couple of words, thinking about this problem for 4-5 days:) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Authenticate against Active Directory

2008-12-02 Thread tnt
http://deployingradius.com/documents/configuration/active_directory.html Ivan Kalik Kalik Informatika ISP Dana 2/12/2008, "Bashir Jahed" <[EMAIL PROTECTED]> piše: >Hi, > > > >I am running Centos 5.2 with freeradius-2.1.1. Currently authenticating >against mysql, what would be the best way to a

Authenticate against Active Directory

2008-12-02 Thread Bashir Jahed
Hi, I am running Centos 5.2 with freeradius-2.1.1. Currently authenticating against mysql, what would be the best way to add active directory as an additional authentication source? A guide or how to would be great... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/us

Re: Freeradius 2.1.1 - locked processes

2008-12-02 Thread Alan DeKok
George Chelidze wrote: > The weird thing with this problem is that localtime_r() calls > fr_hash_table_finddata() as you mentioned. It doesn't. That's likely a side-effect of function call trampolines, or something similar. > I have removed > strftime()/localtime_r() calls from print.c and it

problem with proxying

2008-12-02 Thread Riccardo Veraldi
Hello, freeradius 1.1.3 on CentOS 5.2 I have problem with proxying. In a normal proxying configuration when the username contains a domain different from local defined one the request is proxied to the DEFAULT proxy entry. Here instead proxy does not happen and I have this warning in the logs:

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Alan DeKok
Jos Vos wrote: > On Tue, Dec 02, 2008 at 10:47:08AM +0100, Alan DeKok wrote: > >> It should be easier for *new* installs to use 2.x. Otherwise, they >> install the "latest" RHEL version, and then get told to upgrade. > > This is unrealistic. How should RH maintain a "sliding" base? I didn'

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread A . L . M . Buxey
Hi, > The main "download" page on freeradius.org has a link to: > > http://koji.fedoraproject.org/koji/packageinfo?packageID=298 > > > Which has RPMs of recent versions. But who reads the web page? your typical rh/fed/centos user would never visit the homepage of the program/utility they

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Jos Vos
On Tue, Dec 02, 2008 at 10:47:08AM +0100, Alan DeKok wrote: > It should be easier for *new* installs to use 2.x. Otherwise, they > install the "latest" RHEL version, and then get told to upgrade. This is unrealistic. How should RH maintain a "sliding" base? And what does "RHEL5" mean if the

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Alan DeKok
Jos Vos wrote: > RHEL (and thus CentOS) are conservative "enterprise" distros and thus > do *not* include the newest ("bleeding edge") release of everything > as soon as it comes out. They want to stay compatible through the > 7 (!) years of support time. This is how it is and this is, in > princ

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Jos Vos
On Tue, Dec 02, 2008 at 10:28:40AM +0100, Alan DeKok wrote: > John Dennis wrote: > > So I've created a new FreeRADIUS wiki page with Red Hat specific > > information: > > > > http://wiki.freeradius.org/Red_Hat_FAQ > > Thanks. I've added a file "redhat/README" telling people to please go > re

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Jos Vos
On Tue, Dec 02, 2008 at 09:18:25AM +, [EMAIL PROTECTED] wrote: > it would help immensely if Fedora, RHEL, CentOS et al actually > supplied up to date version of FreeRADIUS - ie at least 2.0.5 > (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!) > > if such a version was availabl

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Alan DeKok
[EMAIL PROTECTED] wrote: > it would help immensely if Fedora, RHEL, CentOS et al actually > supplied up to date version of FreeRADIUS - ie at least 2.0.5 > (if not 2.1.1 !) rather than the historic 1.1.x (or even 1.0.x!) The main "download" page on freeradius.org has a link to: http://koji.fedo

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread Alan DeKok
John Dennis wrote: > There has been a fair amount of confusion over how to get FreeRADIUS > packages for Fedora, RHEL, and CentOS, how to perform a build if a > pre-built package is not available, and how to do some basic maintenance > tasks. > > So I've created a new FreeRADIUS wiki page with Red

Re: Building & Installing on Red Hat Systems (Was: Make error - Solved)

2008-12-02 Thread A . L . M . Buxey
Hi, > There has been a fair amount of confusion over how to get FreeRADIUS > packages for Fedora, RHEL, and CentOS, how to perform a build if a > pre-built package is not available, and how to do some basic maintenance > tasks. it would help immensely if Fedora, RHEL, CentOS et al actually

Re: vlan assign - 3com guest vlan

2008-12-02 Thread A . L . M . Buxey
Hi, > Hi I put thin on the end of users.conf > > DEFAULT Auth-Type = Accept >Fall-Through = Yes, >Tunnel-Medium-Type = 6, >Tunnel-Private-Group-Id := 250, >Tunnel-Type = VLAN > > But the resultis still the same, i've got this in debug you need to comment out the li