the source of the error is in: net-snmp-5.8/snmplib/snmpusm.c
/* * Check the authentication credentials of the message. */ if (secLevel == SNMP_SEC_LEVEL_AUTHNOPRIV || secLevel == SNMP_SEC_LEVEL_AUTHPRIV) { if (sc_check_keyed_hash(user->authProtocol, user->authProtocolLen, user->authKey, user->authKeyLen, wholeMsg, wholeMsgLen, signature, signature_length) != SNMP_ERR_NOERROR) { DEBUGMSGTL(("usm", "Verification failed.\n")); snmp_increment_statistic(STAT_USMSTATSWRONGDIGESTS); snmp_log(LOG_WARNING, "Authentication failed for %s\n", user->name); return SNMPERR_USM_AUTHENTICATIONFAILURE; } DEBUGMSGTL(("usm", "Verification succeeded.\n")); } On Thu, Apr 25, 2019 at 2:28 PM Simon Chamlian <simon.chaml...@mpbc.ca> wrote: > Hi, > > I am issuing an inform, (*which works fine* as I get the inform) but > getting the following error: > > snmpinform -v 3 -r 1 -t 1 -u "User" -a MD5 -A "UserPass" -l authNoPriv > 172.27.37.222 "" DCI-MIB::DCITrapCritical DCI-MIB::NEID s "NE_Identif" > > *Authentication failed for User* > > Any reason why I am getting this error message? > > Thx, > S > > >
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders