Menu

#1133 USM details being overwritten when trying to send INFORM

closed
None
5
2012-11-09
2011-05-09
Anonymous
No

In case of INFORMs, the USM details were being over-written when trying to send out the INFORM. In case of INFORM the element first performs a discovery to fetch the Authoritative Engine ID of the receiver. Once the engine ID was received the code (function ‘create_user_from_session’ in file "snmplib/snmp_api.c") used to over-write the AUTH and PRIV protocols of the user by some defaults. Fixed the code in the file ‘snmp_api.c’ to not over-write the user details if they are already present in USM.
Faced this issue when the user and INFORM target was created first using the USM MIB & Notification/Target MIBs and then an INFORM was sent out.

Discussion

  • Wes Hardaker

    Wes Hardaker - 2011-05-26

    Applied the intent of this one with a bit of reformatting. Thanks for the patch! It should be in future 5.3.x releases and upward.

     

Log in to post a comment.