Hi,
 
Background
-------------------
I'm using net-snmp 5.3.1 and trying to use the snmpTargetMIB to send out
informs.
 
Problem
------------
When sending out informs with users that have SHA authorization,
the informs fail authorization on the receiver side.
 
Analysis:
---------------
- Sending informs with users that have MD5 authorization works fine.
 
- I've added a print in usm_get_user_from_list() that shows me the
authProtocol of the fetched user,
  and I can see that at some time after the engineProbe is sent the
authProtocol of the user changes from SHA to MD5.
 
- I concluded that it is caused by a call to create_user_from_session() 
  (I don't yet know exactly which call, there are several),
  and the session has a default value of MD5, so it overrides the SHA
that is in the user.
  Then later the packet is sent with the wrong 
 
 
Question:
-------------
Can someone give me a hand here? ( it's getting really complicated to
debug this...)
 
 
Thanks,
Erez.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to