changing default session time on the fly

2006-10-13 Thread Wade Kemp

Greetings,
	We have been using freeradius for a couple years now and have been  
very satisfied with it.


One issue I have is we change the default session time based on the  
time the connection is made.
The accounts are all system accounts ( not my doing ) and we are now  
using mysql as a backend for
all accounts that aren't "normal" ( ie static IP, paid longer  
connection time, multiple accesses ).
What we do now is via a cron job change the users file where the only  
difference is the Session-Timeout

value and then HUP freeradius.

My question is can this be put into the sql database and have it  
figure out the session time or should I

just stick with the current set up?

Here is on of my users file, it only differs from the others in the  
Session-Timeout value.



DEFAULT Auth-Type := System
Service-Type = Framed,
Framed-Protocol = PPP,
Framed-IP-Netmask = 255.255.255.255,
Framed-Routing = None,
Framed-MTU = 1500,
Framed-Compression = VanJacobson-TCP-IP,
Idle-Timeout = 800,
Session-Timeout = 14400,
Fall-Through = 1

DEFAULT Simultaneous-Use := 1
Fall-Through = 1


Thanks,
Wade

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


freeradius and multiple mysql servers

2004-12-22 Thread Wade Kemp
Pardon my asking but I have not been able to find a definitive answer.
Can Freeradius send accounting packets to multiple mysql servers?
i.e.
accounting {
sql1
sql2
}
Wade
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Question regarding checkrad

2004-11-18 Thread Wade Kemp
Am I correct in that checkrad does NOT refer to the sql database on how 
to talk to the NAS?

Wade
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


migration to freeradius

2004-10-29 Thread Wade Kemp
Hello, I have an interesting problem.  We are trying to migrate from 
Merit radius 3.6B to freeradius. It seems to work for 99%
of the users, however about 1% of the users, it fails to receive a 
password for. If we point the NAS back to the merit server
they get on without a problem. We are using USR/3COM Total Control 
HiperArc's.

Anyone have an idea of what I can do to resolve this issue ?
Wade
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Logging Vendor Specific Attributes in MySQL

2004-10-19 Thread Wade Kemp
I have just got freeradius 1.0.1 up on a solaris 9 machine, and my boss 
wants to be able to log some of
the vendor specific information in the start/stop packets.  Anyone have 
a pointer where I should look to be able to add those attributes to the 
logging ?

Thanks in advance
Wade
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


building freeradius 1.0.1 on Solaris 9

2004-09-29 Thread Wade Kemp
I'm having a problem getting freeradius to build under solaris 9.
Fresh install of Solaris 9, compilers from the companion cd.
the gmake fails in rlm_ldap when it is trying to do the ld. It 
complains that it can't find the libraries
liblber, libldap_r, and libldap_ra. I tried linking to them from 
/usr/lib, then I get a libtool error about
them not being vaild libraries.

Any ideas ?
Thanks Wade
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html