virtual server configuration

2008-03-07 Thread usawebbox
I want to run two virtual servers on different ports, where one server allows PEAP-MSCHAPV2 and the other doesn't. It seems that only one eap.conf can be used. I can see how to separate the Authorize and Authenticate sections, but I haven't seen any documentation on the syntax to select or reject a

RE: radwtmp

2008-03-07 Thread Escobar, Emilio
Try this patch and let me know if it worked for you so I can submit it to the official bugs site. Thanks, Emilio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David WU Sent: Friday, March 07, 2008 11:21 AM To: FreeRadius users mailing list Subject: ra

Re: ENV variables in external scripts

2008-03-07 Thread rsg
On Fri, Mar 7, 2008 at 5:22 PM, Alan DeKok <[EMAIL PROTECTED]> wrote: > > Read the Perl documentation. Thanks for the advice. > print STDERR "\t: $Check\n"; > > Don't do this. Executed programs should print to STDOUT. They should > NOT print to STDERR. > Would like to know why? Thanks in

Re: Problems with using Customize table schema

2008-03-07 Thread Ivan Kalik
>The only thing I want to do is to used my customize table schema of my >own. I am confused whether I used the sql.conf or the perl >module. You used sql module. >Pleaseadvice which i should used. For you - stick to altering sql. >And if i used the perl >module, please tell me >how should

Re: ENV variables in external scripts

2008-03-07 Thread rsg
Thanks so much Emilio, Here's the working script: #!/usr/bin/perl -w use Mysql; $Check = $ENV{"CALLING_STATION_ID"}; $db = Mysql->connect("localhost","radius","root",""); $status = $db->Mysql::query("select if((select CallingStationId from radcheck where CallingStationId =$Check order by Id limit

Re: ENV variables in external scripts

2008-03-07 Thread Alan DeKok
rsg wrote: > $Check = $CALLING_STATION_ID; Read the Perl documentation. > print STDERR "\t: $Check\n"; Don't do this. Executed programs should print to STDOUT. They should NOT print to STDERR. > $db = Mysql->connect("localhost","radius","root",""); ... > print STDERR "\t: $chk\n"; ... > A

radwtmp

2008-03-07 Thread David WU
I found that the first character of login in the logout record of each login/logout pair missing, as illustrated by the attached file (logins and host ips changed with an hex editor to anonymize the data). This in contrast to the local wtmp file. I discovered this anomaly when I ran a perl

RE: ENV variables in external scripts

2008-03-07 Thread Escobar, Emilio
You still need to grab the value of that environment variable properly. Perl uses the $ENV hash list to store all the environment variables. So for example you'd have to use, $ENV{"CALLING_STATION_ID"}. Regards, Emilio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: ENV variables in external scripts

2008-03-07 Thread rsg
Here' what I see in my debug log. Access Reject because of exit status 255 in Exec-Program-Wait and as I said nothing corresponding to the read variable i.e Calling-Station-Id. ---

Re: compile

2008-03-07 Thread Alan DeKok
Frost, Benjamin M. wrote: > Hello, > I'm trying to compile freeradius 1.1.7 on a redhat 7.1 box w/gcc 3.4.3 > and am getting the following error; ... > /home/freerad/freeradius-1.1.7/src/main/threads.c:590: undefined > reference to `ERR_remove_state' There are issues with including OpenSSL head

Re: ENV variables in external scripts

2008-03-07 Thread rsg
Well.. What I meant was I actually would like to call an environmental variable as a variable in my simple perl script. Following "Attributes as environment variables in executed programs" in variables.txt for instance I tried the below. --- #!/usr/bin/perl -w u

compile

2008-03-07 Thread Frost, Benjamin M.
Hello, I'm trying to compile freeradius 1.1.7 on a redhat 7.1 box w/gcc 3.4.3 and am getting the following error; creating .libs/radiusdS.c (cd .libs && gcc -g -O2 -c -fno-builtin "radiusdS.c") rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT gcc .libs/radiusdS.o -pie

Re: ENV variables in external scripts

2008-03-07 Thread Alan DeKok
rsg wrote: > I unsuccessfully attempted the options given by ../docs/variables.txt. > Please help with the correct syntax. Q: I won't tell you what I did, or what happened when I did it, but I need to know why it doesn't work. A: Damned if I know. Alan DeKok. - List info/subscribe/unsubscribe?

Re: nat translation on apache 2 webserver on Linux

2008-03-07 Thread Alan DeKok
Charnjit Sidhu wrote: > The current setup is that it is behind a firewall which translates the > external ip address with the internal ip address of the linux apache web > server on an internal local network, this allows for other internal > operations to take place, however this causes authenti

Re: Problems with using Customize table schema

2008-03-07 Thread Alan DeKok
johnson elangbam wrote: > ... And if i used the sql.conf please > tell me how to used my own customized table which contain only username > and password. You were given examples of how to do that. Go back and read the mailing list archives. Alan DeKok. - List info/subscribe/unsubscribe? See

ENV variables in external scripts

2008-03-07 Thread rsg
Hi, I need to check an environmental varible with an external script. For example to capture Calling-Station-Id and check it in an external database using a perl script # ../users : . DEFAULT Auth-Type = None Exec-Program-Wait = "/root/check.pl %i", Reply-Message := "Valid Caller

Problems with using Customize table schema

2008-03-07 Thread johnson elangbam
hi, The only thing I want to do is to used my customize table schema of my own. I am confused whether I used the sql.conf or the perl module.Pleaseadvice which i should used. And if i used the perl module, please tell me how should I write the connection parameters and the sql queries for conne

nat translation on apache 2 webserver on Linux

2008-03-07 Thread Charnjit Sidhu
Another question. We can only get our radius authentication to work on our webserver when it is outside of our internal firewall ie it has a static ip address of what is specified on the radius server. The current setup is that it is behind a firewall which translates the external ip address

Re: RADIUSProxy and Attribute modification

2008-03-07 Thread Alan DeKok
Stefan A. wrote: > Our current RADIUS Server is unable to configure some VSAs dynamically for > me. It will be substituted by FR in the near future, but in the meantime, I > have to support the VSAs for my new NAS. It's nice to hear that you're planning on moving to a real server. :) > I'd like

RADIUSProxy and Attribute modification

2008-03-07 Thread Stefan A.
Hi Our current RADIUS Server is unable to configure some VSAs dynamically for me. It will be substituted by FR in the near future, but in the meantime, I have to support the VSAs for my new NAS. I'd like to use FreeRADIUS as a Proxy Server to add/delete Attributes and/or modify their values. Wha

Re: Problems with using Customize table schema

2008-03-07 Thread Ivan Kalik
You will have to make up your mind: are you going to use perl or sql module to get passwords. You have asked about using perl and used sql. Ivan Kalik Kalik Informatika ISP Dana 7/3/2008, "johnson elangbam" <[EMAIL PROTECTED]> piše: >HI, >As advice by Ivan Kalik I've add a table and put use

Problems with using Customize table schema

2008-03-07 Thread johnson elangbam
HI, As advice by Ivan Kalik I've add a table and put username and password only, but still the problem is there, and the output is like this. Please let me know how to used the customized table. Ready to process requests. rad_recv: Access-Request packet from host 127.0.0.1 port 32791, id=197,

RE: mod_auth_radius

2008-03-07 Thread Charnjit Sidhu
Hi Thanks for all your help, all working now. Charnjit Charnjit Sidhu Computing Officer Birmingham University Imaging Centre School of Psychology University of Birmingham Tel: +44 (0)121 4143857 E-mail: [EMAIL PROTECTED] From: [

Re: mod_auth_radius

2008-03-07 Thread Alan DeKok
Charnjit Sidhu wrote: > I have configured mod_auth_radius to work on my apache 2 webserver as a > client, the authentication works with the Radius Server, however after > authentication a blank page is displayed and the only error I get in my > error_log is > > "exit signal Segmentation fault

RE: freeradius web administration

2008-03-07 Thread Ivan Kalik
http://wiki.freeradius.org/Dialup_admin Ivan Kalik Kalik Informatika ISP Dana 7/3/2008, "parfait kouassi nda" <[EMAIL PROTECTED]> piše: > > >I'm using my freeradius server like proxy, and i want to administrate it in >web mode page with dialupadmin. what is the files that i must configure? > >

mod_auth_radius

2008-03-07 Thread Charnjit Sidhu
Help, Not sure wether this is the right place to email an issue. I have configured mod_auth_radius to work on my apache 2 webserver as a client, the authentication works with the Radius Server, however after authentication a blank page is displayed and the only error I get in my error_log is

RE: freeradius web administration

2008-03-07 Thread parfait kouassi nda
I'm using my freeradius server like proxy, and i want to administrate it in web mode page with dialupadmin. what is the files that i must configure? _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics