Re: snmpv3 authorization error
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 18/02/2008, Steve McCarthy <[email protected]> wrote: > I then added rwuser steve1 noauth and rwuser steve3 auth to my snmpd.conf > file that also had rocommunity and rwcommunity settings. I then added > createUser stevev1 and createUser stevev3 MD5 "my_password" DES to my > persistent snmpd.conf file. > snmpget –v 3 –u steve1 –l noAuthNoPriv –A my_password –a MD5 targetIP > Objectname > on the noauth user, I successfully get the response data. > snmpget –v 3 –u steve3 –l noAuthNoPriv –A my_password –a MD5 targetIP > Objectname > on the auth user I get AuthorizationError (access denied to the object) > snmpget –v 3 –u steve –l noAuthNoPriv –A my_password –a MD5 targetIP > Objectname > I get Unknown user name as expected. All of those seem as expected. > snmpget –v 3 –u steve3 –l AuthNoPriv –A my_password –a MD5 targetIP > Objectname > on the auth user I get Authentication failure Try running the agent with the option "-Dusm" (or if your application doesn't support the -D flag, then add the line debug_register_tokens("usm"); and recompile). That might give some indication as to exactly where the authentication is failing. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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