Sorry for not providing enough information.

I built Net-SNMP with:

./configure --disable-agent --disable-snmptrapd-subagent

This has the effect that agent_mode will become 0 (if built with default
options agent_mode will be 1). That is why the error message is
generated in my build.

Function looks like this (optimized for space):

if (!vacm_is_configured()) {
if (MASTER_AGENT == agent_mode) {
snmp_log(LOG_WARNING, "Warning: no access ....
}

if (!strcmp(name, "snmptrapd") &&
!netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_APP_NO_AUTHORIZATION)) {
snmp_log(LOG_WARNING,
"Warning: no access control information configured.\n"
"This receiver will *NOT* accept any incoming
notifications.\n");
}
}

//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