PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000900PacketFenceerror-handlingpublic2010-01-28 13:072015-02-13 15:26
Reporterobilodeau 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000900: we should detect if we are enabled everytime it's relevant for Net::Appliance::Session
Descriptionright now, there is privilege_mode code in comments instead we should use in_privileged_mode() like I did in ISR_1800.pm:

    # are we in enabled mode?
    if (!$session->in_privileged_mode()) {
    
        # let's try to enable
        if (!$session->enable($this->{_cliEnablePwd})) {
            $logger->error("Cannot get into privileged mode on ".$this->{'ip'}.
                           ". Are you sure you provided enable password in configuration?");
            
$session->close();
            return %macBridgePortHash;
        }
    }
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships
related to 0001370closedobilodeau Net::Appliance::Session privilege detection broken resulting into a thread crash 

-  Notes
(0002546)
obilodeau (reporter)
2012-01-24 15:29
edited on: 2012-01-24 15:32

apparently the above code doesn't work see 0001370

(0002550)
obilodeau (reporter)
2012-01-25 14:52

when re-implemented properly don't forget to remove notice that was added in the Admin guide during the 0001370 work-around
(0003689)
lmunro (administrator)
2015-02-13 15:26

Old issues.
Most are not relevant to PF 4 and up.

Let's reopen the ones that matter when we move to github.

- Issue History
Date Modified Username Field Change
2010-01-28 13:07 obilodeau New Issue
2010-01-28 13:07 obilodeau Status new => assigned
2010-01-28 13:07 obilodeau Assigned To => obilodeau
2010-04-15 17:43 obilodeau Project PacketFence 1.9 => PacketFence
2011-01-18 11:43 obilodeau Target Version => trunk
2012-01-24 15:29 obilodeau Note Added: 0002546
2012-01-24 15:32 obilodeau Note Edited: 0002546
2012-01-24 15:32 obilodeau Relationship added related to 0001370
2012-01-25 14:52 obilodeau Note Added: 0002550
2012-10-19 14:17 fgaudreault Assigned To obilodeau =>
2012-10-19 14:17 fgaudreault Target Version devel => general
2015-02-13 15:26 lmunro Note Added: 0003689
2015-02-13 15:26 lmunro Status assigned => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker