Forwarding to the list

ML
----------  Forwarded message  ----------

Subject: Re: SNMPv3 - problem with auth/encr sessions with Perl module
Date: czwartek, 19 października 2006 19:25
From: Wes Hardaker <[EMAIL PROTECTED]>
To: ML <[EMAIL PROTECTED]>
Cc: [email protected]

>>>>> "M" == ML  <[EMAIL PROTECTED]> writes:

M> Having nothing else, I tried the poor man's debug, and here's what
M> I found out.  It looks like there's some strange variable
M> visibility problem here (threads?). I'm not sure of the exact cause
M> of this, because I don't know the architecture of Net-SNMP as a
M> whole, but the following dirty-hacky patch allows the Perl module
M> to 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 OID 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...

--
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------

-- 
best regards,
ML

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to