Discussion:
snmpd.conf privProtocol does not work
(too old to reply)
Simon Chamlian
2015-06-26 14:56:32 UTC
Permalink
Hi,

With snmpd.conf creating a userusing *authProtocol* works fine.
For example:
createUser User1 MD5 "HelloWorld"
rwuser User1 auth

But creating a user with encryption does not work.

I tried:

=========================================================
createUser User2 MD5 "HelloWorld" DES "default-00"
rwuser User2

it gives me error: *Error: Unknown privacy protoco*l

=========================================================

createUser User3 MD5 "admin-00" AES "default-00"
rwuser User3

No error but cannot access agent with MIB browser


=========================================================
createUser User4 MD5 "admin-00" AES "default-00"
rwuser User4 priv

No error but cannot access agent with MIB browser
=========================================================

What am I doing wrong?


Thanks,
S
Simon Chamlian
2015-06-26 18:01:46 UTC
Permalink
Thanks Ajit.

After re-compiling
createUser User2 MD5 "HelloWorld" DES "default-00"
rwuser User2

works fine.

==========================================================

Even though the agent starts without any error, I cannot access agent with
MIB browser when using


createUser User3 MD5 "admin-00" AES "default-00"
rwuser User3

OR

createUser User4 MD5 "admin-00" AES "default-00"
rwuser User4 priv


=========================================================



Should I presume I cannot use AES with NET-SNMP version 5.7.1 or it is
another compilation flag I need?



Thanks,
S.
While compiling use should enable des encryption.
Post by Simon Chamlian
Hi,
With snmpd.conf creating a userusing *authProtocol* works fine.
createUser User1 MD5 "HelloWorld"
rwuser User1 auth
But creating a user with encryption does not work.
=========================================================
createUser User2 MD5 "HelloWorld" DES "default-00"
rwuser User2
it gives me error: *Error: Unknown privacy protoco*l
=========================================================
createUser User3 MD5 "admin-00" AES "default-00"
rwuser User3
No error but cannot access agent with MIB browser
=========================================================
createUser User4 MD5 "admin-00" AES "default-00"
rwuser User4 priv
No error but cannot access agent with MIB browser
=========================================================
What am I doing wrong?
Thanks,
S
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...