Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-30 Thread Fred MAISON
Ho Phil, Could you explain the interest of un-named server ? Best regards, Fred - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-30 Thread Alan DeKok
Fred MAISON wrote: Ho Phil, Could you explain the interest of un-named server ? The authorize, etc. sections should really be inside of a server block. It will make future functionality easier to add. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: 2.1.12 bug/change in behaviour - un-named server {} blocks no longer work?

2011-09-30 Thread Arran Cudbard-Bell
On 30 Sep 2011, at 07:58, Fred MAISON wrote: Ho Phil, Could you explain the interest of un-named server ? It's the default server for anything in clients.conf and the listen section in radiusd.conf. It's mainly in there for backwards compatibility... -Arran Arran Cudbard-Bell

Using DB instead of radutmp for simultaneous-use tracking

2011-09-30 Thread Det Det
Hi there, In the accounting section, radutmp is used for tracking simultaneous-use. Is there a way to use DB::radacct table instead to check for simultaneous-use? thanks, det - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Using DB instead of radutmp for simultaneous-use tracking

2011-09-30 Thread Fajar A. Nugraha
On Fri, Sep 30, 2011 at 1:50 PM, Det Det det.explo...@yahoo.com wrote: Hi there, In the accounting section, radutmp is used for tracking simultaneous-use. Is there a way to use DB::radacct table instead to check for simultaneous-use? Sure. Comment-out radutmp and uncomment sql from session and

Re: rlm_perl

2011-09-30 Thread Bjørn Mork
Alexander Clouter a...@digriz.org.uk writes: Alex rsm alex-...@hotmail.com wrote: And added the following in src/modules/rlm_perl/example.pl sub authorize { print This is a TEST\n; . } However, When I send a simple test request I don't see my debug line. I also don't see

Re: rlm_perl

2011-09-30 Thread Alan Buxey
hi, which version of FR? if its the latest version, then just edit the modules/perl file , ensure that the TYPE of perl you want to use is uncommented...eg for authentication, ensure that func_authenticate line is uncommented, then add 'perl' into the authenticate section of your virtual server

Re: avoiding ldap access in authorize

2011-09-30 Thread Alexander Clouter
Fred fred.mai...@gmail.com wrote: If I want to test those values, i used to to something like : if ( Ldap-Group == AdminRW ) { do something } This makes a new ldap access to be done by the server for an array attribute which has already been retrieved by server. Is there any other way to

RE: rlm_perl

2011-09-30 Thread Alex rsm
I got it working. Thanks for the help. I had to add my debugging statement in the authorize sub rather than authenticate sub. Date: Fri, 30 Sep 2011 09:52:23 +0100 From: a.l.m.bu...@lboro.ac.uk To: freeradius-users@lists.freeradius.org Subject: Re: rlm_perl hi, which version of FR?

Re: MySQL and FreeRADIUS environment

2011-09-30 Thread tonimanel
Hi, thank you for your answer. We are thinking in two servers: First server with one freeradius and mysql service, both services as actives. Second server, another freeradius service with mysql service running also. Two servers must to have data replicated. I think that this is the best

missing rlm_perl.so in the built from src file

2011-09-30 Thread Alex rsm
Hi, I built a fresh freeradius on a ubuntu server from source files. When I add perl module and start the freeradiusin the debug mode, it is asking for rlm_perl.so that can not find it. It seems the make file does not create the shared lib file for perl module. Is there any change should be

RE: MySQL and FreeRADIUS environment.

2011-09-30 Thread tonimanel
Hi, thank you for your answer. I think the same. We are thinking in two servers: First server with one freeradius and mysql service, both services as actives. Second server, another freeradius service with mysql service running also. Two servers must to have data replicated. I think that this

Version 2.1.12 has been released

2011-09-30 Thread Alan DeKok
After some delay, and after a few last-minute fixes, we've managed to release Version 2.1.12. The full changelog is as follows: FreeRADIUS 2.1.12 Fri 30 Sept 2011 16:57:38 CEST, urgency=medium Feature improvements * Updates to dictionary.erx, dictionary.siemens, dictionary.starent,

Re: missing rlm_perl.so in the built from src file

2011-09-30 Thread Arran Cudbard-Bell
I built a fresh freeradius on a ubuntu server from source files. When I add perl module and start the freeradiusin the debug mode, it is asking for rlm_perl.so that can not find it. It seems the make file does not create the shared lib file for perl module. Is there any change should be

Re: MySQL and FreeRADIUS environment

2011-09-30 Thread Fajar A. Nugraha
On Fri, Sep 30, 2011 at 9:19 PM, tonimanel antoniofernan...@fabergames.com wrote: Hi, thank you for your answer. We are thinking in two servers: First server with one freeradius and mysql service, both services as actives. Second server, another freeradius service with mysql service running

Re: Using unlang to customize Tunnel-Medium-Type for 3com switches

2011-09-30 Thread stasheck
Hi, I just wanted to share what I did in the end. First of all, it turned out that 3com actually interprets IEEE-802 in proper way - and there was no need for unlang. However I'm glad I learned how it (unlang) works, and had to learn a bit more about RADIUS :-) So nothing's wasted. There were

authentication sub in perl

2011-09-30 Thread Alex rsm
Hi, I am trying to call an external perl function within authentication sub - functions are uncommented in modules/perl file ... func_authenticate = authenticate func_authorize = authorize ... - subs are modified in /raddb/example.pl sub authenticate{ print TEST1\n; } sub

Re: authentication sub in perl

2011-09-30 Thread Alan DeKok
Alex rsm wrote: I am trying to call an external perl function within authentication sub - functions are uncommented in modules/perl file ... func_authenticate = authenticate func_authorize = authorize ... The default example works. - subs are modified in /raddb/example.pl

Re: authentication sub in perl

2011-09-30 Thread Alan Buxey
Hi, Hi, I am trying to call an external perl function within authentication sub - functions are uncommented in modules/perl file    ...    func_authenticate = authenticate    func_authorize = authorize    ... - subs are modified in /raddb/example.pl sub

RE: authentication sub in perl

2011-09-30 Thread Alex rsm
my apology. It was a copy/paste typo: sub authorize { print TEST1\n; # For debugging purposes only # log_request_attributes; # Here's where your authorization code comes # You can call another function from here: test_call; return RLM_MODULE_OK; } # Function to handle

Re: authentication sub in perl

2011-09-30 Thread Alan Buxey
Hi, debug? alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: authentication sub in perl

2011-09-30 Thread Alex rsm
As I said only authorize sub is being called when receiving a REQUEST and not authenticate sub. So I need to change Auth-Type to be Perl? Here is my subs in the example.pl: sub authorize { print TEST1\n; # For debugging purposes only # log_request_attributes; # Here's where your