I have a NoReplyHook that always sends accepts:
NoReplyHook file:"%D/reply-accept.hook"
$ cat reply-accept.hook
sub {
my $p = ${$_[0]};
my $fp = ${$_[1]};
my $rp = ${$_[2]};
$rp->set_code('Access-Accept');
# reply to the Client that sent the request
$p->{Client}->replyTo($p);
return;
}
Best regards, Alex
Am 2011-05-31 10:34, schrieb Siebert Waldemar:
Hello,
It's possible to reject the request from within the PostSearchHook.
I have tried the following:
$_[2]->{RadiusResult} = $main::REJECT;
and
$_[5]->set_code('Access-Reject');
but none of them seems to work.
Thank you
Kind regards
Waldemar Siebert
T-Systems International GmbH
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator