Fwd: SNMPv3 - problem with auth/encr sessions with Perl module
0 answers - 1490 bytes -

Forwarding to the list
ML
Forwarded message
Subject: Re: SNMPv3 - problem with auth/encr sessions with Perl module
Date: czwartek, 19 padziernika 2006 19:25
From: Wes Hardaker <hardaker (AT) users (DOT) sourceforge.net>
To: ML <netsnmp (AT) hornet (DOT) eu.org>
Cc: net-snmp-coders (AT) lists (DOT) sourceforge.net
"M" == ML <netsnmp (AT) hornet (DOT) eu.orgwrites:
MHaving nothing else, I tried the poor man's debug, and here's what
MI found out. It looks like there's some strange variable
Mvisibility problem here (threads?). I'm not sure of the exact cause
Mof this, because I don't know the architecture of Net-SNMP as a
Mwhole, but the following dirty-hacky patch allows the Perl module
Mto work for us.
It looks to me like there is a linking issue with the SNMP.so perl
module and the libnetsnmp library. Though I agree that your solution
of locally defining the needed ID variables will work, it isn't the
right solution and more importantly it likely is only fixing one
problem and there is quite likely others that are hidden that you
haven't seen yet.
In short, the usmHMACSHA1AuthProtocol variable should be defined by
the libnetsnmp library. The variable's initialization code is outside
a function so there isn't anything to call to get it to load.
It certainly makes me wonder about the loading process on windows