Re: Newbie question about rlm_exec usage

2012-11-24 Thread Phil Mayers
On 11/24/2012 08:40 PM, Hoggins! wrote: I don't know if I understand the process correctly : as far as I understand, an authentication request is handled successively by the listed modules in the authorize {} section, right ? So, now that I figured that I have to use PAP as phase2, I can have th

Re: Newbie question about rlm_exec usage

2012-11-24 Thread Hoggins!
I don't know if I understand the process correctly : as far as I understand, an authentication request is handled successively by the listed modules in the authorize {} section, right ? So, now that I figured that I have to use PAP as phase2, I can have the cleartext password. But I don't know how

Re: Newbie question about rlm_exec usage

2012-11-23 Thread Hoggins!
OK, that explains a lot. I guess I need to find a method that lets the Cleartext-Password go through. I don't know how to do this, actually, as our passwords are now stored hashed. Any hint? Le 23/11/2012 19:18, Alan Buxey a écrit : > eg if using PEAP, the client never sends a password, instead i

Re: Newbie question about rlm_exec usage

2012-11-23 Thread Alan Buxey
What EAP type? eg if using PEAP, the client never sends a password, instead its challenge-response which works because the SQL contains a copy of the password so MSCHAP can derive an agreement. Gmhow dies your curl do this? Are you trying thus in the authenticate section and feeding an authoriza

Newbie question about rlm_exec usage

2012-11-23 Thread Hoggins!
Hello everyone, We're facing an issue with rlm_exec, or at least Ithink our problem comes from there. We use FreeRADIUS for a Wifi access point. We userlm_sql, and our clients authenticate using 802.1x, with a certificate and a pair of login/password credentials. Everything works just fine

rlm_exec

2012-10-10 Thread Thomas Raabo - Zitcom A/S
Could you implement (minisqueeze) [~/work/smsotpd] ./pap_challenge_request.pl Enter username: directory\Administrator Enter password: server response type = Access-Challenge (11) Enter otp: 97350 server response type = Access-Accept (2) This sort of thing with rlm_exec? Med venlig hilsen

Re: rlm_exec and proxy request paradox

2011-06-21 Thread Nathan M
for me although it does trigger a warning. Even if the proxied request is accepted by the destination radius server, my exec script exits code 1 and the request is ultimately rejected. Given my understanding of the rlm_exec module, I believe it should be rejecting the proxied request in my origina

rlm_exec and proxy request paradox

2011-06-17 Thread Nathan M
, per recommendation in docs and list I'm converting things over to use the newer rlm_exec method. The new method works great for local authentication; however, I'm getting stumped on requests which are proxied to another radius server which accepts the request. Process of events: 1. Auth reques

Re: version error rlm_exec module

2011-04-01 Thread Marinko Tarlac
: Fri, 1 Apr 2011 07:30:07 +0200 > From: al...@deployingradius.com > To: freeradius-users@lists.freeradius.org > Subject: Re: version error rlm_exec module > > Raheel Itrat wrote: > > I am getting this error while I installed a 2.1.0 version. How do I > > delete the older v

RE: version error rlm_exec module

2011-03-31 Thread Raheel Itrat
> Date: Fri, 1 Apr 2011 07:30:07 +0200 > From: al...@deployingradius.com > To: freeradius-users@lists.freeradius.org > Subject: Re: version error rlm_exec module > > Raheel Itrat wrote: > > I am getting this error while I installed a

Re: version error rlm_exec module

2011-03-31 Thread Alan DeKok
Raheel Itrat wrote: > I am getting this error while I installed a 2.1.0 version. How do I > delete the older version of freeradius? Kindly let me know the exact > command to remove all files of older version. "rm" Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/l

RE: version error rlm_exec module

2011-03-31 Thread Raheel Itrat
Sorry the path is as follows instantiate { /etc/freeradius/modules/exec[25]: Invalid version in module 'rlm_exec' Errors initializing modules From: raheel...@hotmail.com To: freeradius-users@lists.freeradius.org Subject: version error rlm_exec module Date: Fri, 1 Apr 2011 10:1

version error rlm_exec module

2011-03-31 Thread Raheel Itrat
version in module 'rlm_exec' Errors initializing modules OR is there any tweek I can do to the exec module file? Thanks, Raheel > Date: Wed, 30 Mar 2011 06:42:34 +0800 > Subject: Freeradius + Active

Re: rlm_exec and 'No such file or directory' error

2010-11-17 Thread Alan DeKok
mark.le...@stfc.ac.uk wrote: > I have the exec module enabled in the instantiate section of radiusd.conf and > I have the following at the end of the authorize section in the > sites-enabled/default file: > > if (control:Auth-Type == LDAP) { > update control { > Auth-Type = `%{

rlm_exec and 'No such file or directory' error

2010-11-17 Thread mark.leese
e the following trace: [snip] radiusd: Instantiating modules Wed Nov 17 17:36:20 2010 : Debug: instantiate { Wed Nov 17 17:36:20 2010 : Debug: (Loaded rlm_exec, checking if it's valid) Wed Nov 17 17:36:20 2010 : Debug: Module: Linked to module rlm_exec Wed

rlm_exec: Wait=yes but no output defined

2010-09-25 Thread Michael Arndt
Hello *, radiusd -X in different places announces rlm_exec: Wait=yes but no output defined. Did you mean output=none? Will freeradius fall back internally to output=none without inserting this attribut / value in the config ? Or should i mandatory add output=none ? TIA Micha - List info

Re: rlm_exec

2010-07-08 Thread John Dennis
On 07/08/2010 02:49 AM, Alan DeKok wrote: Hubert Kupper wrote: I used the RPMs from Suse, but the same error still occurs. OK... find out where the libraries are, and ensure that the dynamic linker can find them. try running ldconfig -- John Dennis Looking to carve out IT costs? www.re

Re: rlm_exec

2010-07-07 Thread Alan DeKok
Hubert Kupper wrote: > I used the RPMs from Suse, but the same error still occurs. OK... find out where the libraries are, and ensure that the dynamic linker can find them. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_exec

2010-07-07 Thread Hubert Kupper
{ /etc/raddb/radiusd.conf[1384]: Failed to link to module 'rlm_exec': file not found I've searched the freeradius mailing archive but I didn't find an entry. The modules can't be found. Use the RPMs supplied by Suse, they work. Alan DeKok. - List info/subscr

Re: rlm_exec

2010-07-06 Thread Alan DeKok
sd.conf[1384]: Failed to link to module 'rlm_exec': file > not found > > I've searched the freeradius mailing archive but I didn't find an entry. The modules can't be found. Use the RPMs supplied by Suse, they work. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

rlm_exec

2010-07-06 Thread Hubert Kupper
Hello, I have installed freeradius 2.1.9-0 on a SLES 11 64 bit machine. When I try to start with freeradius -X then I get the following error: radiusd: Instantiating modules instantiate { /etc/raddb/radiusd.conf[1384]: Failed to link to module 'rlm_exec': file not fo

Re: error := Invalid version in module 'rlm_exec'

2009-12-03 Thread Alan DeKok
Yagnesh Dave wrote: > I am getting this error while trying to run the freeradius, pls help me > to get this resolved. > > The error is, > > radiusd: Instantiating modules > instantiate { > /usr/local/etc/raddb/modules/exec[24]: Invalid version in module 'rl

error := Invalid version in module 'rlm_exec'

2009-12-03 Thread Yagnesh Dave
Hi Everybody, I am getting this error while trying to run the freeradius, pls help me to get this resolved. The error is, radiusd: Instantiating modules instantiate { /usr/local/etc/raddb/modules/exec[24]: Invalid version in module 'rlm_exec' Errors initializing modules

Failed to link to module 'rlm_exec'

2009-12-02 Thread Yagnesh Dave
Hi All, I am getting this error while starting the radius (free radius 1.1.7). Please help me to resolve the problem. The error is /usr/local/etc/raddb/modules/exec[24]: Failed to link to module 'rlm_exec': ld.so.1: radiusd: fatal: /usr/local/lib/rlm_exec.a: unknown file type

Re: [rad] Re: rlm_exec wiki

2009-06-16 Thread Charles Gregory
On Mon, 15 Jun 2009, a.l.m.bu...@lboro.ac.uk wrote: it would be much beter if there was a full delineation between 1.x and 2.x docs - the web is full of older resources that dont say what version their tweaks and info is good for. (nod) I don't know enough about the differences between 1.x and

Re: rlm_exec wiki

2009-06-15 Thread Doug Hardie
On 15 June 2009, at 14:41, a.l.m.bu...@lboro.ac.uk wrote: Hi, (grin), but of course, if I want to write for the wiki, I'm going to have to install the latest release, to be sure what I write is valid for the most current context. Fortunately I have a test box for stuff like this. :) .

Re: rlm_exec wiki

2009-06-15 Thread A . L . M . Buxey
Hi, > (grin), but of course, if I want to write for the wiki, I'm going to have > to install the latest release, to be sure what I write is valid for the > most current context. Fortunately I have a test box for stuff like this. > :) ..but to mirror wat you've ben saying - why not support 1.x

Re: rlm_exec wiki

2009-06-15 Thread Charles Gregory
On Mon, 15 Jun 2009, a.l.m.bu...@lboro.ac.uk wrote: I think the initial idea would be to document what/how you've used exec module to define an attribute - rlm_exec is quite bare on the wiki ;-) Uh, yeah, almost forgot, that was actually one of the places I looked before I posted on the

Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header

2009-06-01 Thread Nakul Deshpande
Hi, When I give the command radiusd –X start, i get the the message: radiusd.conf[1600] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header I have read the previous posts and tried to install different packages. I know that this is a issue with Linux/

Multiple output pairs in rlm_exec - How to format the response pai string?

2009-01-12 Thread Hanno Schupp
I try to determine some data externally through an PHP programme with the 'exec' module. Everything is fine as long as I do only return one value from PHP, the return attribute is duly accepted and processed. As soon as I return more than one the exec module gets confused, as everything is

Re: access to multiple value from rlm_exec

2008-08-04 Thread Alan DeKok
Dmitry Goncharov wrote: > Ok. why in module rlm_exec not use simple concatenation strings with > equal value? like this: > > CISCO_AVPAIR="connect-progress=LAN Ses Up,client-mac-address=0050.0430.4c23" Because that's not what is in the RADIUS packet. And it doesn

Re: access to multiple value from rlm_exec

2008-08-04 Thread Dmitry Goncharov
2008/8/4 Alan DeKok <[EMAIL PROTECTED]>: > Dmitry Goncharov wrote: >> please help me, how can access to multiple value from rlm_exec? > > You don't. You should use rlm_perl. > > Alan DeKok. > - Ok. why in module rlm_exec not use simple concatenation

Re: access to multiple value from rlm_exec

2008-08-04 Thread Alan DeKok
Dmitry Goncharov wrote: > please help me, how can access to multiple value from rlm_exec? You don't. You should use rlm_perl. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

access to multiple value from rlm_exec

2008-08-04 Thread Dmitry Goncharov
Hi! please help me, how can access to multiple value from rlm_exec? radius receive packet such this: Mon Aug 4 16:32:06 2008 Acct-Session-Id = "55E86035000A015A" Cisco-AVPair = "client-mac-address=0050.0430.4c23" Framed-Protocol = PPP

Re: rlm_exec question

2008-04-17 Thread Alan DeKok
T Kid82 wrote: > 1. I have log incoming authentication requests set to yes but they do > not seem to be getting logged (in the radiusd.log file). Ideally I > would like to see the same level of verbosity as the radiusd -X mode > gives on standard out in my logs. Is there anyway to do that without >

Re: rlm_exec question

2008-04-17 Thread T Kid82
Anybody know about these two things that I asked? 1. I have log incoming authentication requests set to yes but they do not seem to be getting logged (in the radiusd.log file). Ideally I would like to see the same level of verbosity as the radiusd -X mode gives on standard out in my logs. Is there

Re: rlm_exec question

2008-04-17 Thread T Kid82
Thank you Alan, your recommendation worked perfectly. It has permanently cured me of fleas :p Two other things I wanted to ask the experts on here. 1. I have log incoming authentication requests set to yes but they do not seem to be getting logged (in the radiusd.log file). Ideally I would like to

Re: rlm_exec question

2008-04-13 Thread Alan DeKok
T Kid82 wrote: > First I added a files sub-section the modules section within radiusd.conf > > files { > Auth-Type := Exec > } There is already a "files" subsection. It configures the "users" file. You should put the "Auth-Type" entry there, instead of in radiusd.conf. Oh, and read th

Re: rlm_exec question

2008-04-13 Thread T Kid82
Hi Ivan, I tried two variations. First I added a files sub-section the modules section within radiusd.conf files { Auth-Type := Exec } and in the authorize section I put in authorize { preprocess files } This is what I saw in the radius logs User-Name = "tkid" User-Passw

Re: rlm_exec question

2008-04-13 Thread A . L . M . Buxey
Hi, > authorize { > preprocess > exec > } > > authenticate { > Auth-Type Exec { > exec > } > } remove all those 'exec' and replace them with 'perl', then read experimental.conf and edit accordingly to activate the perl module you've written. dont worry a

Re: rlm_exec question

2008-04-13 Thread Ivan Kalik
Add files to authorize and put DEFAULT Auth-Type := Exec in it. Ivan Kalik Kalik Informatika ISP Dana 13/4/2008, "T Kid82" <[EMAIL PROTECTED]> piše: >Hi everyone, > >I am trying to accomplish a very simple task using RADIUS as an >authentication proxy. >All I need it to do is use the username

rlm_exec question

2008-04-13 Thread T Kid82
Hi everyone, I am trying to accomplish a very simple task using RADIUS as an authentication proxy. All I need it to do is use the username/password combo sent in, run a perl script to validate those credentials and return a pass or fail. I have my perl script setup to return all the right codes as

Re: rlm_exec use

2008-03-20 Thread T Kid82
2008 at 1:59 PM, Alan DeKok <[EMAIL PROTECTED]> wrote: > T Kid82 wrote: > > I got this from the comments in exec-program-wait (which has been > > deprecated) where it explains how to use rlm_exec. It says, > > > > "An entry for the module 'rlm_exec&#

Re: rlm_exec use

2008-03-20 Thread Alan DeKok
T Kid82 wrote: >> Could you explain why you think that? None of the documentation or >> default configuration files say that. Note that the module return code >> "OK" or "success" does NOT mean "let the user in without checking their >> password". > > That is a revelation to me. A simple

Re: rlm_exec use

2008-03-19 Thread Alan DeKok
T Kid82 wrote: > I got this from the comments in exec-program-wait (which has been > deprecated) where it explains how to use rlm_exec. It says, > > "An entry for the module 'rlm_exec' must be added to the file > 'radiusd.conf' with the path of the script.&

Re: rlm_exec use

2008-03-19 Thread Doug Hardie
On Mar 19, 2008, at 11:34, T Kid82 wrote: You have put significant effort into butchering the default configuration. Why? I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, "An entry for the module 'rlm_exe

Re: rlm_exec use

2008-03-19 Thread T Kid82
> You have put significant effort into butchering the default configuration. Why? I got this from the comments in exec-program-wait (which has been deprecated) where it explains how to use rlm_exec. It says, "An entry for the module 'rlm_exec' must be added to the file '

Re: rlm_exec use

2008-03-19 Thread Alan DeKok
T Kid82 wrote: > I have been trying to get RADIUS to run a perl script which would > authenticate users (and yes I have tried rlm_perl but I decided > against it). Why? It is *much* more efficient than exec'ing a program. ... > Exec-Program output: > Exec-Program: returned: 3 > ++[exec] returns

rlm_exec use

2008-03-19 Thread T Kid82
Hi everyone, I have been trying to get RADIUS to run a perl script which would authenticate users (and yes I have tried rlm_perl but I decided against it). So far all I have in the perl script itself is #!/usr/bin/perl use strict; use Data::Dumper; exit 3; -

Re: EAP/PEAP inner identity and rlm_exec

2008-02-18 Thread Alan DeKok
Kolbjørn Barmen wrote: > However, it only works for the so called "outter" identity. > Any tip on how to make it work for the "inner" identity instead? In 2.0, just put that into a virtual server for inner tunnels. See raddb/sites-available/inner-tunnel. In 1.x, do: # runs only in the inner

EAP/PEAP inner identity and rlm_exec

2008-02-18 Thread Kolbjørn Barmen
I'm trying to use a selfmade script to decide VLAN-attributes for EAP/PEAP users: DEFAULT Realm == realm.org Tunnel-Type = VLAN, Tunnel-Medium-Type = IEEE-802, Tunnel-Private-Group-Id = `%{exec:/usr/sbin/ldap2vlan %{User-Name}` However, it only works for the so called "outter" identity. A

Re: rlm_exec and authentication

2007-12-03 Thread Alan DeKok
Oguzhan Kayhan wrote: > Thanks for ur reply but i am pretty new about freeradius. So... > Where is that scripts folder..Or do i have to make settings under > radiusd.conf > file? The file is in the distribution "tar" file. It contains comments explainint how to use it. > An example config fi

Re: rlm_exec and authentication

2007-12-03 Thread Oguzhan Kayhan
On Monday 03 December 2007 12:56:07 Alan DeKok wrote: > Oguzhan Kayhan wrote: > > I wanna write an authentication script which will control the > > username&password pair from an IMAP server. Acutally the script is about > > ready but, i couldt find a way to execute from radius. > > scripts/exec

Re: rlm_exec and authentication

2007-12-03 Thread Alan DeKok
Oguzhan Kayhan wrote: > I wanna write an authentication script which will control the > username&password pair from an IMAP server. Acutally the script is about > ready but, i couldt find a way to execute from radius. scripts/exec-program-wait Alan DeKok. - List info/subscribe/unsubscribe?

rlm_exec and authentication

2007-12-02 Thread Oguzhan Kayhan
rror "undefined symbol: Perl_Tstack_sp_ptr (failed! run '/usr/sbin/freeradius -x' to find out why.)" Then i reinstalled freeradius checked the updates of perl etc but no solution.. And i decided to use rlm_exec for that. But i am not sure how will i use it as authentication

Re: Return values for rlm_exec scripts

2007-01-11 Thread Thor Spruyt
Garry Glendown wrote: Thor Spruyt wrote: Session-Timeout := `%{exec:/bin/echo 200}` I use exec_program_wait, try having a look at that. ... which doesn't return a value if I'm not mistaken ... !? It can return several Attribute-Value pairs. Read the documentation, search google and ther

Re: Return values for rlm_exec scripts

2007-01-10 Thread Garry Glendown
Thor Spruyt wrote: >>> Session-Timeout := `%{exec:/bin/echo 200}` > I use exec_program_wait, try having a look at that. ... which doesn't return a value if I'm not mistaken ... !? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Return values for rlm_exec scripts

2007-01-10 Thread Thor Spruyt
{exec:/bin/echo 200}` But all I get is this in the loggfile: Mon Jan 8 16:05:24 2007 : Error: Exec-Program-Wait: /bin/echo 200: unparsable reply What do I have to do to get FreeRadius to understand the return value? Thanks!!! Nobody using rlm_exec??? I use exec_program_wait, try having

Re: Return values for rlm_exec scripts

2007-01-09 Thread Garry Glendown
gt; Session-Timeout := `%{exec:/bin/echo 200}` > > But all I get is this in the loggfile: > > Mon Jan 8 16:05:24 2007 : Error: Exec-Program-Wait: /bin/echo 200: > unparsable reply > > What do I have to do to get FreeRadius to understand the return value? > > Thank

Return values for rlm_exec scripts

2007-01-08 Thread Garry Glendown
Hi, I'm trying to configure dynamic values in the users-file, which works fine using the rlm_expr module. Anyway, due to some more complicated expressions that can not be formed using rlm_expr, I tried to set up an external script that will return the value I need ... only problem is: I can't

Re: Error rlm_exec

2006-12-07 Thread Hernan Antolini
What messages did you have when you compiled it ? It seems that it could not build rlm_exec correctly. You could look at the config.log file within the build directory. Hernan Antolini [EMAIL PROTECTED] wrote on 12/07/2006 05:51:07 AM: > > I can't start freeradius 1.1.3_1

Error rlm_exec

2006-12-07 Thread Serg Max
I can't start freeradius 1.1.3_1 on FreeBSD6 radius.log: Error: radiusd.conf[226] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid file format ??? Sergu - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_exec documentation

2006-11-01 Thread Patric
Patric wrote: Hi guys, Im busy trying to figure out how to implement rlm_exec, and am really battling to find documentation to this end. Can anybody point me in the right direction, I dont mind doing the legwork myself, but Im getting nowhere fast... I am using freeradius 1.1.3 Thanks a

rlm_exec documentation

2006-11-01 Thread Patric
Hi guys, Im busy trying to figure out how to implement rlm_exec, and am really battling to find documentation to this end. Can anybody point me in the right direction, I dont mind doing the legwork myself, but Im getting nowhere fast... I am using freeradius 1.1.3 Thanks a stack! Patric

Re: rlm_exec

2006-06-22 Thread Alan DeKok
Leandro Pereira de Lima e Silva - ViaLink <[EMAIL PROTECTED]> wrote: > sorry, but I couldn't find specific information about rlm_exec module in > the documentation. radiusd.conf comes with voluminous comments saying what it does, and how to use it. Alan DeKok. - Li

Re: rlm_exec

2006-06-22 Thread Leandro Pereira de Lima e Silva - ViaLink
Alan, sorry, but I couldn't find specific information about rlm_exec module in the documentation. If someone said that it could be used that way, my next question would be where can I find good documentation explaining how to work with this module. My intention really wasn't

Re: rlm_exec

2006-06-22 Thread Alan DeKok
Leandro Pereira de Lima e Silva - ViaLink <[EMAIL PROTECTED]> wrote: > Can I use it to delegate authentication and/or accounting to some other > script outside freeradius? Can you read the documentation describing the module? I don't understand why the existing documentation isn't good enoug

Re: rlm_exec

2006-06-22 Thread Leandro Pereira de Lima e Silva - ViaLink
Can I use it to delegate authentication and/or accounting to some other script outside freeradius? Thanks, Leandro. Stefan Winter escreveu: Hi, does anyone knows what rlm_exec module does? it executes commands. You can feed it with AVPs via environment variables so that it does

Re: rlm_exec

2006-06-21 Thread Stefan Winter
Hi, > does anyone knows what rlm_exec module does? it executes commands. You can feed it with AVPs via environment variables so that it does whatever magic you want it to. Greetings, Stefan Winter -- Stefan WINTER Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationa

rlm_exec

2006-06-21 Thread Leandro Pereira de Lima e Silva - ViaLink
Hello everybody, does anyone knows what rlm_exec module does? Thanks, -- Leandro Pereira de Lima e Silva http://www.vialink.com.br/ "A verdadeira medida do caráter de um homem é o que ele faria se soubesse que nunca seria descoberto." -- Thomas B. Macaulay - List info/subscribe/u

Re: rlm_exec does not change already existing attributes

2006-04-24 Thread Joe Maimon
Dmitry Lyubimkov wrote: In the rlm_exec module for change of attributes according to result of script it is used if (output_pairs) pairmove(output_pairs, &answer); in function static int exec_dispatch(void *instance, REQUEST *request) But function pairmove in valuepa

rlm_exec does not change already existing attributes

2006-04-24 Thread Dmitry Lyubimkov
In the rlm_exec module for change of attributes according to result of script it is used if (output_pairs) pairmove(output_pairs, &answer); in function static int exec_dispatch(void *instance, REQUEST *request) But function pairmove in valuepair.c does only the follo

How to modify attribute by rlm_exec

2006-01-27 Thread roger
Dear All,   I want to set NAS-Port=100 to proxy request packet. In my test, if the receive packet has not NAS-Port attribute, It will successful. If it have, it will fail. The value will not modify. Can anyone told me how to modify attribute by rlm_exec module?   Regards,   Roger

Re: Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header

2006-01-05 Thread Mathieu Clément
authorize = yes > proxy: wake_all_if_all_dead = no > security: max_attributes = 200 > security: reject_delay = 1 > security: status_server = no > main: debug_level = 0 > read_config_files: reading dictionary > read_config_files: reading naslist > Using deprecated nasli

Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header

2006-01-04 Thread Mathieu Clément
naslist file. Support for this will go away soon. read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /usr/local/lib radiusd.conf[1383] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invali

Re: OS Update broke FR - rlm_exec-1.0.0.so not found

2005-12-07 Thread Nicolas Baradakis
Landon Cox wrote: > On a freeradius box I have which is working, I did: > > radius1:/usr/lib/freeradius # ldd rlm_exec-1.0.0.so > linux-gate.so.1 => (0xe000) > libnsl.so.1 => /lib/libnsl.so.1 (0x40018000) > libresolv.so.2 => /lib

Re: OS Update broke FR - rlm_exec-1.0.0.so not found

2005-12-06 Thread Landon Cox
Thanks, Alan. FYI - more research on the topic, I did an ldd on the rlm_exec file: On a freeradius box I have which is working, I did: radius1:/usr/lib/freeradius # ldd rlm_exec-1.0.0.so linux-gate.so.1 => (0xe000) libnsl.so.1 => /lib/libnsl.so.1 (0x40

Re: OS Update broke FR - rlm_exec-1.0.0.so not found

2005-12-06 Thread Alan DeKok
Landon Cox <[EMAIL PROTECTED]> wrote: > radiusd: entering modules setup > Module: Library search path is /usr/lib/freeradius > radiusd.conf[1367] Failed to link to module 'rlm_exec': /usr/lib/ > freeradius/rlm_exec-1.0.0.so: cannot open shared object file: No such

OS Update broke FR - rlm_exec-1.0.0.so not found

2005-12-06 Thread Landon Cox
ils with a dynamic link error: radiusd: entering modules setup Module: Library search path is /usr/lib/freeradius radiusd.conf[1367] Failed to link to module 'rlm_exec': /usr/lib/ freeradius/rlm_exec-1.0.0.so: cannot open shared object file: No such file or directory radius2:/hom

rlm_exec for diferent users

2005-10-14 Thread Miguel
Hi, how can i run diferent scripts depending on the usergroup of the username? According to the documentation: in radiusd.conf i can define diferent rlm_exec scripts: modules { exec tariff { program = "/path/to/program/tariff" wait = yes input_pairs

Re: rlm_exec question

2005-10-12 Thread Christian Meutes
Hello Victor, as i understand you want to rewrite the Acct-Session-Id from "123456/*" to "123456" but the part behind the slash is variable and rlm_attr_rewrite cant to regular expression as far as i know. I dont know which module can rewrite accounting packets too besides rlm_attr_rewrite.

rlm_exec question

2005-10-11 Thread Vicor M. Polukcht
Hi all. I have a hardware that sends me accounting using radius protocol i have two records: (Acct-Session-Id, Start Record) 14346//[EMAIL PROTECTED]/40AB4B43 ADA86932 80450002 401E622/originate/VoIP62.152.64.32 (Acct-Session-Id, Stop Record) 14346///40AB4B43 ADA86932 80450002 A401E622/answe

Re: rlm_exec and retriving RAD_REQUEST attribute values

2005-08-24 Thread Thor Spruyt
t packets, here are the relevant sections of my > radiusd.conf and script file: You're mixing up 2 modules: rlm_exec and rlm_perl You configured your radius to use rlm_exec, but you're using a sample script for rlm_perl, which is completely different! There's a sample for rlm_

rlm_exec and retriving RAD_REQUEST attribute values

2005-08-24 Thread Matt morris
Hello list, This has probably been asked a lot times before, but I just couldn't get the attributes values from accounting request packets with my perl script. I am trying to do some database queries when I received stop accounting request packets, here are the relevant sections of my radiusd.

Re: Exec-Program-Wait vs rlm_exec vs rlm_

2005-06-30 Thread Alan DeKok
t part is figuring out what you need to do to get > configure to work properly. Don't use configure. Some FreeRADIUS modules don't use it. It's not necessary for your own modules on your own system. Just create a "Makefile", and it will work. > Hence, I would

Exec-Program-Wait vs rlm_exec vs rlm_

2005-06-30 Thread Doug Hardie
replacement is rlm_exec. I tried to convert my programs over to that and never could quite get everything to work. There were always issues that have been discussed here at length. There were some patches that might have helped my situation, but I didn't want to have to keep rememberi

Re: rlm_exec

2005-06-22 Thread Alan DeKok
Doug Hardie <[EMAIL PROTECTED]> wrote: > Are there any performance differences to having 2 rlm's vs one? No. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_exec

2005-06-21 Thread Doug Hardie
I have 2 exec-prog-wait modules that I am converting to rlms. The process fork time is very significant for both because of the various startup things that have to be done. By making them rlm's that is done infrequently. One of them is for authorization and the other for accounting. i h

RE: Exec-Program-Wait vs rlm_exec

2005-05-06 Thread mmiranda
ou need to run an >>>> external program to make aditional checks when an access request in >>>> received, exec-program-wait or rlm_exec, im using >>>> exec-program-wait, sould i use rlm_exec instead, the script check >>>> some item like credit amount

Re: Exec-Program-Wait vs rlm_exec

2005-05-05 Thread Paul Hampson
to make aditional checks when an access request in > >> received, exec-program-wait or rlm_exec, im using exec-program-wait, > >> sould i use rlm_exec instead, the script check some item like credit > >> amount and returns 0 or 1 if success or fail , thanks > > >

Re: Exec-Program-Wait vs rlm_exec

2005-05-05 Thread Alan DeKok
[EMAIL PROTECTED] wrote: > you can point me on > some docuemtation on the options of rlm_exec, i cant found anything on the > web. The exec echo example is very basic, The rest of radiusd.conf contains more documentation about rlm_exec. Alan Dekok. - List info/subscribe/unsubsc

RE: Exec-Program-Wait vs rlm_exec

2005-05-05 Thread mmiranda
[EMAIL PROTECTED] wrote: > On Tue, May 03, 2005 at 10:23:05AM -0600, [EMAIL PROTECTED] > wrote: >> Hi, what do you consider the best solution wheen you need to run an >> external program to make aditional checks when an access request in >> received, exec-program-wait or

Re: Exec-Program-Wait vs rlm_exec

2005-05-04 Thread Paul Hampson
On Tue, May 03, 2005 at 10:23:05AM -0600, [EMAIL PROTECTED] wrote: > Hi, what do you consider the best solution wheen you need to run an external > program to make aditional checks when an access request in received, > exec-program-wait or rlm_exec, im using exec-program-wait, so

Exec-Program-Wait vs rlm_exec

2005-05-03 Thread mmiranda
Hi, what do you consider the best solution wheen you need to run an external program to make aditional checks when an access request in received, exec-program-wait or rlm_exec, im using exec-program-wait, sould i use rlm_exec instead, the script check some item like credit amount and returns 0 or

Re: freeradius version and rlm_exec

2005-04-21 Thread Alan DeKok
Juan Nin <[EMAIL PROTECTED]> wrote: > I downloaded the latest CVS snapshot (freeradius-snapshot-20050421). > Should I use this snapshot in production, or is it better to use 1.0.2 > patching it with the fix? Use the 1.0 branch from CVS. $ cvs -d :pserver:[EMAIL PROTECTED]:/source checkout -r re

freeradius version and rlm_exec

2005-04-21 Thread Juan Nin
erver, so I want to know: I downloaded the latest CVS snapshot (freeradius-snapshot-20050421). Should I use this snapshot in production, or is it better to use 1.0.2 patching it with the fix? If I should use a patched 1.0.2, what would be the best way to patch it? Just replace the "src/module

Re: rlm_exec: Wait=yes but no output defined

2005-03-31 Thread Paul Hampson
rs = "request" > exec: output_pairs = "(null)" > exec: packet_type = "(null)" > rlm_exec: Wait=yes but no output defined. Did you mean output=none? > This doesn't seem to be a section I'm using. Should I just comment it > out? Or maybe put &quo

rlm_exec: Wait=yes but no output defined

2005-03-31 Thread Rick Kunkel
Heya all, I'm getting this warning when running. The longer version, in debuggin mode, is this: Module: Loaded exec exec: wait = yes exec: program = "(null)" exec: input_pairs = "request" exec: output_pairs = "(null)" exec: packet_type = "(null)&q

Re: Acct-Unique-Session-Id as parameter for rlm_exec & Exec-Program

2004-11-24 Thread Alan DeKok
Jev <[EMAIL PROTECTED]> wrote: > Is Acct-Unique-Session-Id available as a variable that I can pass to > scripts invoked by rlm_exec or Exec-Program ? Yes, when accounting packets are received, after the acct_unique module is run. Alan DeKok. - List info/subscribe/unsubscri

Acct-Unique-Session-Id as parameter for rlm_exec & Exec-Program

2004-11-24 Thread Jev
Hi all, Is Acct-Unique-Session-Id available as a variable that I can pass to scripts invoked by rlm_exec or Exec-Program ? I tried %{Acct-Unique-Session-Id} and checked doc/variables.txt but I did not come across anything Regards, -Jev - List info/subscribe/unsubscribe? See http

  1   2   >