I am writing an authentication cgi. This cgi will authenticate people... for
example http://faa.foo.com/cgi-bin/auth.cgi?user=fred&password=fred 


the auth.cgi sends these parameters to radpwtst and radpwtst asks the
Radiators if the user is allowed!!!!


This part is working id I get OK from the radpwtst results this meand the
user is allowed. I also want to write some attributes from users reply like
Session-Timeout.
This has worked with AUTHBY FILE but AUTHBY SQL is not. I am geting the
attribute with at line 312 of radpwtst;

my $timeout1 = $rp->get_attr('Session-Timeout');
 $timeout2 = $timeout1;

but not giving the value for the Session-Timeout as I have in the users
replyattr field.

I have checked that with Trace 4 there is no attr Sesssion-Timeout in  the
Access-Accept.


Tuncay Margilic




-----Original Message-----
From: Hugh Irvine [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 10:46 PM
To: Tuncay MARGILIC; [EMAIL PROTECTED]
Subject: RE: Radpwtst in cgi-bin



Hello Tuncay -

I think you will have to explain more clearly, I don't understand 
what you are trying to do, nor what the problem is.

thanks

Hugh


At 21:54 +0200 7/12/00, Tuncay MARGILIC wrote:
>Did anyone used radpwtst like this. I will not use the radius module of the
>webserver. There are some implementation problems...
>
>
>Tuncay
>
>-----Original Message-----
>From: Tuncay MARGILIC
>Sent: Thursday, December 07, 2000 9:44 PM
>To: [EMAIL PROTECTED]
>Cc: 'Hugh Irvine'
>Subject: Radpwtst in cgi-bin
>
>
>I am trying to use the radpwtst to authenticate from cgi-bin directory. But
>I could not get all the Attributes that the user has in replyattr. For
>example Session-Timeout.
>It is working when I use <AUTHBY FILE>. The problem occurs when using with
><AUTHBY SQL>
>
>
>Tuncay

-- 

NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to