Re: Windows Server 2008 R2 (was already working...)

2010-04-07 Thread mr typo
hello, i have added the with_nt_domain_hack in the mschapv2 section of eap.conf mschapv2 { with_ntdomain_hack = yes } with this change i am getting the following in debug log: [eap] processing type mschapv2 [mschapv2] +- entering group MS-CHAP {...}

Check traffic quota / rlm_sqlcounter

2010-04-07 Thread Alexander
Dear all, please forgive me if this has been answered before but I have searched the list archive, FAQ and docs over and over again, without success so far. What I want to achieve is *traffic quota* enforcement per user at login time. E.g. user is permitted a quota of 100 MB and authentication

Permanent mysql connection in mod_perl

2010-04-07 Thread Nasser Heidari
Hi, I'm using mod_perl in my radius configuration and using it I write some logs to database. Today I noticed that, there are lots of mysql connections in TIME_WAIT state. # netstat -epn --tcp | grep TIME_WAIT | wc -l 15015 netstat -epn --tcp | grep TIME_WAIT | tail -1 tcp 0 0 192.168.1.4:49060

Re: Permanent mysql connection in mod_perl

2010-04-07 Thread Apostolos Pantsiopoulos
Have a look at the CLONE special function in rlm_perl documentation. Initiate your db connections in that function. -- --- Apostolos Pantsiopoulos Kinetix Tele.com R D email: r...@kinetix.gr --- On 7/4/2010 12:01

RE: Permanent mysql connection in mod_perl

2010-04-07 Thread Nasser Heidari
-Original Message- From: freeradius-users-bounces+nasser=rasana@lists.freeradius.org [mailto:freeradius-users-bounces+nasser=rasana@lists.freeradius.org] On Behalf Of Apostolos Pantsiopoulos Sent: Wednesday, April 07, 2010 13:37 To: freeradius-users@lists.freeradius.org

Re: Permanent mysql connection in mod_perl

2010-04-07 Thread Apostolos Pantsiopoulos
Yes, remeber to include the initiation of the handler outside the function (global for the script). i.e. : ... my $dbh; sub CLONE(){ $dbh = DBI-connect... } ... (the rest of your functions which use the $dbh handler) -- --- Apostolos

Re: User enabled for one only NAS

2010-04-07 Thread Alexander Clouter
Sergio Belkin seb...@gmail.com wrote: I've enabled on users file  something like that: guest Cleartext-Password := guest How can I limit that user to one only NAS IP Address? Thanks in advance! Hmmm.. I wonder either if questions is somewhat stupid or freeradius can't do that... ...it

Re: DHCP Sending NAK in reply to Discover (BUG)

2010-04-07 Thread Alan DeKok
Fixed, thanks. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: EAP checking certificate CN for WiMAX

2010-04-07 Thread Alan DeKok
Victor Tangendjaja wrote: In WiMAX certificate CN apparently contains MAC address and model name of the device for example FF1234567890 USB1234. WiMAX standard says and I quote The MAC (from the CN) SHALL be compared with the MAC address in the Calling-Station-Id of the RADIUS Access Request

How to differeniate types of users

2010-04-07 Thread Rob Yamry
I have Radius v1.1.7 working great with eDirectory/LDAP, both running on SLES 10 SP3. Right now we use it to control access to our wireless in the district, but its sort an all-or-nothing approach right now. What we are trying to accomplish is to have two SSIDs - one for students and one for

Re: Check traffic quota / rlm_sqlcounter

2010-04-07 Thread Alexander
--- On Wed, 4/7/10, Alan DeKok al...@deployingradius.com wrote: a) store traffic data in the DB when an accounting packet is received Accounting to DB is already working. b) check that on loging   You shouldn't need to use sqlcounter.  Just a plain SELECT will do it. Thank you for

Re: How to differeniate types of users

2010-04-07 Thread Alan Buxey
Hi, I have Radius v1.1.7 working great with eDirectory/LDAP, both running on SLES 10 SP3. Right now we use it to control access to our wireless in the district, but its sort an all-or-nothing approach right now. What we are trying to accomplish is to have two SSIDs - one for students

Re: How to differeniate types of users

2010-04-07 Thread Rob Yamry
FreeRadius users mailing list freeradius-users@lists.freeradius.org writes: Hi, I have Radius v1.1.7 working great with eDirectory/LDAP, both running on SLES 10 SP3. Right now we use it to control access to our wireless in the district, but its sort an all-or-nothing approach right now.

Re: Check traffic quota / rlm_sqlcounter

2010-04-07 Thread Alan DeKok
Alexander wrote: What I would like to do is compare the returned value with another one which represents my traffic quota in bytes: See man unlang In the authorize section, do: if (%{sql: SELECT ...quota ...} = %{sql:SELECT ... usage ...}) { reject }

[no subject]

2010-04-07 Thread Richie Lee
http://hohewimi.tripod.com/ _ Live connected. Get Hotmail Messenger on your phone. http://go.microsoft.com/?linkid=9724462- List info/subscribe/unsubscribe? See

[no subject]

2010-04-07 Thread Richie Lee
http://mitglied.multimania.de/daziwaw/ _ Videos that have everyone talking! Now also in HD! http://go.microsoft.com/?linkid=9724465- List info/subscribe/unsubscribe? See