On Thu, 12 Feb 2009 16:11:57 -0000 Angela wrote: AL> I'm sorry but I think I do not clarify myself properly... I want that both users set the same OIDs but only one can set a particular OID with a particularly value. I mean both can set and get the OID1 but only one user can set the OID1 with value 4. So, unfortunately the solution is not that easy. AL> The only solution that I can think of is to know the user inside the handler. AL> Any idea!
An option that would work within VACM would be to define a special lock object that must also be set when changing the other oid to 4, and only allow authorized users access to the lock oid. Another option would be not to let anyone set 4 on that object, and define some new object to change the value to 4, and restrict access to that object. Another option might be to use SNMPv3 contexts. I'm not sure, but I think it might be easier to get at contexts than the user.. and only allow the authorized user access to the specific context needed for sets. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
