It would be really nice to get an answer to my question that I posted last
Tuesday. I've compiled net-snmp for windows configured to use openSSL. My
version 3 access to my remote server aurelius works but it doesn't work
with my local server. What have I done wrong in building net-snmp for
windows or what am I doing wrong in my snmpd configuration?

Thanks.
Mark.

On Tue, Oct 23, 2018 at 7:00 AM Mark Christiansen <m...@markwc.com> wrote:

> Does anybody have ideas of what could be going wrong here?
>
> I built net-SNMP 5.8 for my Windows 10 machine. I set up my snmpd.conf
> file as shown below where I added the same users as I have on my
> Linux machine called aurelius. I get the following responses when I run
> snmpgetnext for the two servers:
>
> C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A
> user3password -x DES -X user3encryption aurelius .1.3
> SNMPv2-MIB::sysDescr.0 = STRING: Linux aurelius 3.13.0-40-generic
> #69-Ubuntu SMP Thu Nov 13 17:56:26 UTC 2014 i686
>
> C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A
> user3password -x DES -X user3encryption localhost .1.3
> snmpgetnext: Decryption error
>
> Thanks.
> Mark.
>
> ###########################################################################
> #
> # snmpd.conf
> #
> #   - created by the snmpconf configuration program
> #
> ###########################################################################
> # SECTION: Access Control Setup
> #
> #   This section defines who is allowed to talk to your running
> #   snmp agent.
>
> # rwuser: a SNMPv3 read-write user
> #   arguments:  user [noauth|auth|priv] [restriction_oid]
>
> rwuser  private
>
> # rouser: a SNMPv3 read-only user
> #   arguments:  user [noauth|auth|priv] [restriction_oid]
>
> rouser  public
>
> # rocommunity: a SNMPv1/SNMPv2c read-only access community name
> #   arguments:  community [default|hostname|network/bits] [oid]
>
> rocommunity  public
>
> # rwcommunity: a SNMPv1/SNMPv2c read-write access community name
> #   arguments:  community [default|hostname|network/bits] [oid]
>
> rwcommunity  private
>
> ###########################################################################
> # Same user configuration I have on aurelius
> ###########################################################################
>
> createUser user1
> createUser user2 MD5 user2password
> createUser user3 MD5 user3password DES user3encryption
>
> rouser user1 noauth 1.3.6.1.2.1.1
> rouser user2 auth 1.3.6.1.2.1
> rwuser user3 priv 1.3.6.1.2.1
>
>
>

-- 
Aim for brevity while avoiding jargon.
~ Edsger Dijkstra

<https://about.me/markwc?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
Mark Christiansen
about.me/markwc
<https://about.me/markwc?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to