SNMPv3 privacy: what am I doing wrong?

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 

Sorry to do this, but I've read everything I can find and privacy still
won't work.

 

Can anyone tell me what I'm missing?

 

* I have this snmpd.conf file:

 

createUser user1 MD5 sessame1 DES sessame1

createUser user2 SHA sessame2

rwuser user1 priv

rwuser user2 auth

rwcommunity public

 

I run the agent with

 

>snmpd -d

 

I find that authentication works and privacy doesn't, as shown by:

 

> snmpgetnext -v 3 -n  -c public -u user2 -a SHA -A sessame2 -l
authNoPriv localhost sysUpTime

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (37548) 0:06:15.48

 

> snmpgetnext -v 3 -n  -c public -u user1 -a MD5 -A sessame1 -x DES -X
sessame1 localhost sysUpTime

Error in packet.

Reason: authorizationError (access denied to that object)

 

(NB MD5 works by itself).

 

Is there something else I need to do ?

 

Thanks

 

Gareth Williams

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.