(RADIATOR) PostAuthHook not processing

Hugh Irvine hugh at open.com.au
Fri Jun 9 20:09:05 CDT 2006


Hello Rob -

Have you restarted Radiator to have the hook re-read?

And what have you got in the configuration file and what startup  
messages are there in the log file?

regards

Hugh


On 9 Jun 2006, at 14:47, Rob M. Salmon wrote:

> Hi Hugh
>
>
>
>
>
> I have included the following as a PostAuthHook immediately after  
> the </AuthBy>
>
>
>
> I am expecting this to change to reply attribute for the IP and  
> also delete and re-add the Session-Timeout attribute.
>
>
>
> However I do not even get any entries in my log (you will notice I  
> added a print to the log file at the start of the subroutine to see  
> that it was going into the subroutine) It appears that it is not  
> even processing this hook. I suspect I have made some fundamental  
> mistake but cannot see what it is.
>
>
>
>
>
>
>
> sub
>
> {
>
>     my $p = ${$_[0]};
>
>     my $rp = ${$_[1]};
>
>     my $result = ${$_[2]};
>
>
>
>     &main::log($main::LOG_DEBUG,
>
>                "Backup testing");
>
>
>
>     if ($result == $main::Accept) {
>
>         my $Called-Station-Id = $p->get_attr('Called-Station-Id');
>
>         &main::log($main::LOG_DEBUG,"Called-Station-Id =$Called- 
> Station-Id");
>
>         if ($Called-Station-Id == '142320198333843') {
>
>                 &main::log($main::LOG_DEBUG,"Called-station-ID  
> attribute present, Dialup Backup used.");
>
>                 $rp->change_attr('Framed-IP-Address',  
> '255.255.255.255');
>
>                 $rp->delete_attr('Session-Timeout);
>
>                 $rp->add_attr('Session-Timeout','10800');
>
>         }
>
>     }
>
>     return;
>
> }
>
>
>
> Regards
>
>
>
> Rob Salmon
>
> Development Executive
>
> rsalmon at wildtechnology.net
>
> 02 8306 0020 Direct Line
>
> 02 8306 0077 Sales | 02 8306 0099 Fax
>
> 02 8306 0088 Support
>
> 02 8306 0055 Administration
>
> 1300 13 WILD (9453) National | 1300 88 WILD (9453) Fax
>
>
>
> Wild Internet & Telecom, ABN 98 091 470 692
> Finance - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017
> Sales - Level 16 , 1604/6 Lachlan Street, Waterloo NSW 2017
> Telephone 1300-13-9453 |  Facsimile 1300-88-9453
> http://www.wildit.com.au
> DISCLAIMER & CONFIDENTIALITY NOTICE:  The information contained in  
> this email message and any attachments may be confidential  
> information and may also be the subject of client legal - legal  
> professional privilege. If you are not the intended recipient, any  
> use, interference with, disclosure or copying of this material is  
> unauthorised and prohibited.   This email and any attachments are  
> also subject to copyright.  No part of them may be reproduced,  
> adapted or transmitted without the written permission of the  
> copyright owner.  If you have received this email in error, please  
> immediately advise the sender by return email and delete the  
> message from your system.
>
>


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

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list