Re: problem relating snmpd.conf in View base access control model
bhushan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
hello friends, Thanks for replying to my last question . i have done like u said my things r working properly when i do snmpwalk it will show all my required MIB-2 data . but one more problem i am facing that is i am able to do snmpwalk for v1 , V2c properly but when i doing snmpwalk for V3 like (snmpwalk -v 3 -c public localhost -u mynetwork) it throughs an error unknown user name my snmpd.conf file as below # sec.name source community com2sec local localhost public com2sec mynetwork localhost public #### # Second, map the security names into group names: # sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local #group MyROGroup v1 local #group MyROGroup v2c local group MyROGroup usm mynetwork #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view basic included .1.3.6.1.2.1.1 view basic included .1.3.6.1.2.1.2 view basic included .1.3.6.1.2.1.3 view basic included .1.3.6.1.2.1.4 view basic included .1.3.6.1.2.1.5 view basic included .1.3.6.1.2.1.6 view basic included .1.3.6.1.2.1.7 view basic included .1.3.6.1.2.1.8 view basic included .1.3.6.1.2.1.9 #### # Finally, grant the 2 groups access to the 1 view with different # write permissions: # context sec.model sec.level match read write notif access MyROGroup "" any noauth exact basic basic basic access MyRWGroup "" any noauth exact basic basic basic Plz reply me as soon as possible - Bhushan E Sonawane ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users