From: Lokesh M. <lok...@gm...> - 2025-01-30 09:27:10
|
Hi folks, i am trying to create snmp groups and associating views with it. and assign users to these groups. I see there is no explicit way to assign user to group. Am i missing some configuration? This is the configuration i am doing: # Define Views view view1 included .1.3.6.1.2.1 view view2 included .1 view view2 excluded .1.3.6.1.2.1 # Define Groups group group1 usm authPriv access group1 "" any authPriv exact view1 none none group group2 usm authNoPriv access group2 "" any authNoPriv exact view2 none none # Define Users createUser user1 SHA authpass1 AES encryptpass1 #rouser user1 authPriv createUser user2 SHA authpass2 #rouser user2 authNoPriv If I dont write rouser for users, snmpwalk doesnt work. # snmpwalk -v3 -u user2 -l authPriv -a SHA -A "authpass2" 10.225.2.143 Error in packet. Reason: authorizationError (access denied to that object) if I write rouser, then the view2 which I want for user2 doesnt work, and everything gets accessed. Appreciate your help !!!! regards Lokesh Mogra |