Hello Mark -

On Fri, 11 Aug 2000, Orcon Network Coordinator, Mark Mackay wrote:
> Hi all - 
> 
> Got a customer of our, who uses Proxy-auth having a power cut tomorrow
> morning - thus their Radius server won't reply. So I'm trying to ACCEPT
> whenever we don't get a reply from their server (always good in the event of
> network problems).
> 
> Tried adding into <AuthBy RADIUS>
> 
>     NoReplyHook sub{ return $main::ACCEPT; };
> 

You will need to set the return code in the reply packet and force a reply:

sub
{
    my $p = ${$_[0]};
    my $rp = ${$_[1]};
    my $fp = ${$_[2]};

    $rp->set_code('Access-Accept');

    $p->{Client}->replyTo($rp, $p);

    return;
}            

hth

Hugh

-- 
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