> Did you intend to set up multiple conf tokens to map to the same value?

>     netsnmp_ds_register_config(ASN_OCTET_STR, "snmpd", "agentSecName",
>     netsnmp_ds_register_config(ASN_OCTET_STR, "snmpd", "iquerySecName",


Yes.
"agentSecName" is for backward compatibility with previous releases.
"iquerySecName" felt to be a more appropriate name.


I also spotted a related change to the CVS code recently, whereby you
seemed to provide a default value for this setting.  Care to explain why?

Both the original Event MIB implementation, and this more general
mechanism deliberately did *not* set a default value for this token.
In order for internal callback queries to work, it's necessary to
specify the username to use, to actually create this username,
and to configure suitable access control.

Forcing the 'agentSecName' to be set explicitly has been a useful
way of guiding people towards the need to do all this.  I'm not at
all convinced that providing a default username is sensible.

I await being persuaded otherwise....

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to