Re: snmpd.conf privProtocol does not work

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJTs9Vm9bCf2+Y0O3XDegZ2Qbug1VMYGkahDH+TgBrLYT=eBkg@mail.gmail.com>
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.





On Fri, Jun 26, 2015 at 11:31 AM, Ajit Ambekar <[email protected]> wrote:

> While compiling use should enable des encryption.
> On Jun 26, 2015 8:34 PM, "Simon Chamlian" <[email protected]>
> wrote:
>
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> Please see the following page to unsubscribe or change other options:
>> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>>
>>

------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.