RE: Problem trying to create SNMPv3 user with pre-generated MD5 key
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0CF9443A@mailserver.metatv-ds.metatv.com> |
The "password" used in net-snmp is based upon the key localization algorithm as described in section 2.6 and appendix 2 of RFC 3414, which means that it is not a simple MD5 hash, so what you're trying won't work. If your user is secretive about thye password, I would suggest setting the initial password to some semi-secure password like "Test1234" and pointing them to the snmpusm manpage so they can change it to whatever they prefer. HTH, Mike P.S. This type of secretiveness is difficul;t to maintain when using clear channels to encode the password! > -----Original Message----- > From: Kirill Mishustin [mailto:[email protected]] > Sent: Thursday, September 03, 2009 9:32 PM > To: [email protected] > Subject: Problem trying to create SNMPv3 user with pre-generated MD5 key > > Hello. > > We need to add SNMPv3 user. Password is unknown, we > know only MD5-hash of his password. I'm trying this: > User name: snmpuser > Password: 11111111 > Password MD5 Hash : 1bbd886460827015e5d605ed44252251 > (Hash generated online at http://hash-it.net/) > > So, I added this to /usr/local/share/snmp/snmpd.conf: > rwuser snmpuser auth > > And this to /var/net-snmp/snmpd.conf: > createUser snmpuser MD5 -m > 0x1bbd886460827015e5d605ed44252251 > > Agent replaced second string with his "ucd user" stuff. > But when I try to make snmp request, I have authentication > failed error. > I tried replacing "-m" with "-l" in > /var/net-snmp/snmpd.conf. Same result. > > What's wrong? > > Best regards, > Kirill Mishustin > > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30- > Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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