Hi,

I added 2 Usm users with same security name, different engine ids, and 
authentications. While trying to send the traps, I received following error 
messages
org.snmp4j.security.USM  - USM.getUser - User 'xxxxxx' unknown
org.snmp4j.security.USM  - Security name not found for engineID=...
Message processing model 3 returned error: Unknown security name

Look like the localEngineID is used when the codes try to find the security 
name. I traced into the MPv3.java program and found following:

    if (scopedPDU.isConfirmedPdu()) {
      flags |= MPv3_REPORTABLE_FLAG;
    }
    else {
      secEngineID = localEngineID;
    }

As trap is not a confirmed pdu, the secEngineID is set to localEngineID.. 
Please feel free to correct me if my understanding of the code is wrong.
Would you please share your thoughts on what I may do wrong or missed?

Thanks,
I-Wen

_______________________________________________
SNMP4J mailing list
[email protected]
https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j

Reply via email to