Re: SNMPGET specifying the community name
Irvs <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave, I finally got the fix suited for our system. First, I made sure to make the community name be enclosed inside a single quote when it is written on the snmpd.conf file. Then, when the security, group and access info are parsed, I avoided the use of strtok() but instead made use of the copy_nword() to properly parse the quoted strings. For parsing, I modified the snmpUDPDomain.c and vacm_vars.c files. You've been a very big help.Thank you very much! -Irvs On Tue, Jan 12, 2010 at 8:48 PM, Dave Shield <[email protected]>wrote: > 2010/1/12 Irvs <[email protected]>: > > Unfortunately, the version we are using now does not have the > vacm_conf.[ch] > > files yet. > > Then look for the equivalent code in vacm_vars.c > The same patch should be applicable there. > > Dave > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ 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