snmptrapd VACM error message bug?

This is a discussion on snmptrapd VACM error message bug? within the SNMP Coders forums, part of the Networking and Network Related category; Hi, I previously asked this question on irc, tanders pointed me here. When launching snmptrapd (5.4) I get following ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2007
Gustaf Gunnarsson
 
Posts: n/a
Default snmptrapd VACM error message bug?

Hi,
I previously asked this question on irc, tanders pointed me here.

When launching snmptrapd (5.4) I get following error message:

snmptrapd[29559]: Warning: no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmptrapd.conf
file for this agent.

My snmptrapd.conf includes the directive 'disableAuthorization yes'.

The error message comes from agent/mibgroup/mibII/vacm_conf.c line 1121
that looks like:

if (MASTER_AGENT == agent_mode)

I believe this line should look like:

if ((MASTER_AGENT == agent_mode) && (strcmp(name, "snmptrapd"))

since there is a specific check handling snmptrapd and checking the
NETSNMP_DS_APP_NO_AUTHORIZATION boolean a few lines down in the code.

//Gustaf

-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0