I'm using 5.4.2.1 version on Linux.

I created initial noAuthNoPriv clone-from user to clone the users from at run 
time and as requested by our applications
I added my clone-from user in the persistent file in /etc/netsnmp/snmpd.conf 
file as follow:

createUser InitialNoAuth
group   MyRWGroup3       usm             InitialNoAuth
access  MyRWGroup3       ""      usm             noAuthNoPriv           exact   
viewall viewall none


then in /usr/local/share/snmp/snmpd.conf I have:

rwuser InitialNoAuth

I start the agent with -c /usr/local/share/snmp/snmpd.conf option.

when I try to create a user by cloning it from this user using snmpusm command 
as follow:

 snmpusm -v3 localhost -l noAuthNoPriv -u InitialNoAuth create tester1  
InitialNoAuth

I get this error:

Error in packet.
Reason: authorizationError (access denied to that object)


I have other types of clone-from users in /etc/netsnmp/snmpd.conf and I can 
create all the other types of users,
users such as authNoPriv and authPriv - it is just I can't create noAuthNoPriv 
user.

if I cat my /etc/netsnmp/snmpd.conf I see that my initial, clone-from, user is 
created and added along with my other initial, clone-from, users
so I don't know what else is left to do ?

I read the FAQ in the distribution of the software and it seems to suggest to 
use defSecurityLevel directive in snmpd.conf. I tried adding this to either of 
the conf files but it gave me "unknown token" error when the agent is starting 
to comm up. Do I need to recompile the agent with some configuration parameter 
to allow me to create noAuthNoPriv users?

Could you please take a look and let me know where and what is missing from my 
configuration in order to be able to create noAuthNoPriv user.

Thank you in advance,
Bernadette Eyre




------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to