OK...
I found the reason... I made a mistake when concatinating the reply on the
SQL statement....
Now it works as it has to...
Thanks anyway,
Tuncay
-----Original Message-----
From: Hugh Irvine [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 5:26 PM
To: Tuncay MARGILIC; [EMAIL PROTECTED]
Subject: RE: Radpwtst in cgi-bin
Hello Tuncay -
At 9:30 +0200 8/12/00, Tuncay MARGILIC wrote:
>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.
>
I will need to see the trace 4 to see what is happening.
thanks
Hugh
--
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.