On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> // Set a specific ContextName
> char buf[1024];
> sprintf(buf, "TestContext%d", allocatedIndex);
> handlerServerTable->contextName = buf;
handlerServerTable->contextName = strdup(buf);
> To use a ContextName, must I add something:
> - in my code?
The snippet above should do the trick.
> - in the MIB?
No.
> - in the configuration file?
The access control settings must allow access from this context.
If you're using the convenience directives ("r{o,w}{community,user}"),
then this is handled automatically. If you're setting things up via
com2sec/group/view/access, then you'll need to make sure that the
access line(s) covers the necessary contexts.
See the documentation for details.
Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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