Dave, Thanks for your quick answer :-)
As one college found it will get error when he configure the security name as a very long string(maybe the long string is his machine name), so I was asked to provide the max length about the security name in our operator's guide. So could you please confirm that 32 will be the max length? Thanks a lot! Best Regards, Jing -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: 2011年6月13日 15:37 To: ZHAO Jing G Cc: [email protected] Subject: Re: Help on the error: failed to create group entry On 13 June 2011 06:48, ZHAO Jing G <[email protected]> wrote: > It seems the problem comes about when I tried with a long security name: > > My security name is: sec_testuser_ hss01hssdhusahalcate Is there a space in that security name? That is likely to confuse the config parser. Try omitting the space. > is there about the limit on the length of configured username? If you look at the definition of the vacmSecuityToGroupTable (in the SNMP-VIEW-BASED-ACM-MIB), you'll see that both vacmSecurityName and vacmGroupName are defines as SYNTAX SnmpAdminString (SIZE(1..32)) So you should probably stick to short names for both of these. Remember that they are both purely internal to the agent, so it doesn't matter what values you choose. Dave ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
