Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Reports not running if user doesn't have Admin rights
      (Bracey, John)
   2. Re: Reports not running if user doesn't have Admin rights
      (Oliver Gorwits)
--- Begin Message ---
Thanks for the feedback Steven.


     --John Bracey

From: Steven Xu [mailto:stev...@yorku.ca]
Sent: Tuesday, October 13, 2015 2:30 AM
To: Bracey, John <jbra...@csuchico.edu>
Cc: netdisco-users@lists.sourceforge.net
Subject: Re: [Netdisco] Reports not running if user doesn't have Admin rights

Hi John,

I also discovered the same error with the PoE report. The code requires users 
to have the admin flag to open the PoE report. I'm not sure if this was 
intentional but I suspect it's a bug.

Steven

-----"Bracey, John" <jbra...@csuchico.edu<mailto:jbra...@csuchico.edu>> wrote: 
-----
To: 
"netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>"
 
<netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>>
From: "Bracey, John" <jbra...@csuchico.edu<mailto:jbra...@csuchico.edu>>
Date: 10/11/2015 04:43PM
Subject: [Netdisco] Reports not running if user doesn't have Admin rights
Hello All:

I have a new installation of Netdisco 2 and an existing Netdisco 1 installation 
that I will retire once I have the Netdisco 2 install all tested out (see stats 
below for particulars on my install).  I exported my Netdisco 1 database and 
imported it into the Netdisco 2 server when I built it.  These two installs are 
on separate servers from each other.

I did some searches in the list archive and I didn't come up with any matches 
for my particular issue.

My issues are that I have two reports that give a JSON error when I try to run 
them logged in with a user account that doesn't have Admin privileges:


1.        Device -> Power over Ethernet (PoE) Status

2.       Wireless -> Access Point Radios Channel and Power.

These reports run fine if the user account I'm logged in with has Admin rights.

I also don't get any data in the PoE column in a given switches 'Ports' tab 
even though I can see that I'm getting PoE data in my PoE Status report when I 
run it as an admin.

Any ideas of things I can look at or did I just find a couple of bugs?

Thanks in advance.

John Bracey, Sr. Network Analyst
Computing & Communication Services / Network Operations
California State University, Chico
530-898-5400


Built using Open Source
Software

Version

App::Netdisco <http://netdisco.org/>

2.033002

DB Schema <https://metacpan.org/module/netdisco-db-deploy>

v40

Dancer <http://http/perldancer.org/>

1.3142

Bootstrap <http://getbootstrap.com/>

2.3.1

PostgreSQL <http://www.postgresql.org/>

PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.4.7 
20120313 (Red Hat 4.4.7-9), 64-bit.
 DBI 1.634, DBD::Pg 2.15.1

SNMP::Info <http://snmp-info.sourceforge.net/>

3.28

Perl <http://www.perl.org/>

5.010001

Statistics for this installation

192 devices with 17,716 interfaces using 732 IPs

933 layer 2 links between devices

58,021 nodes in 761,448 entries

93,604 IPs in 187,934 entries

Statistics took 80 seconds to process.



------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/netdisco-users

--- End Message ---
--- Begin Message ---
On 2015-10-09 19:05, Bracey, John wrote:
My issues are that I have two reports that give a JSON error when I
try to run them logged in with a user account that doesn't have Admin
privileges:

1. Device -> Power over Ethernet (PoE) Status

2. Wireless -> Access Point Radios Channel and Power.

Many thanks for the clear bug report John, and for confirmation Stephen.

I have just released Netdisco 2.033003 to CPAN with a fix for this. It should be on the mirrors shortly. It will also bring an updated SNMP::Info.

regards,
oliver.



--- End Message ---
------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to