>>>>> "PP" == Passera Pablo-APP <Passera> writes:

PP> I have a question related to the create_user_from_session. When
PP> you have a trapsess configuration in the config file, after the trapsess
PP> line is read. The rowStorageType of the user specified in the trapsess
PP> is moved to READ_ONLY. This prevents me to change the user's key. I saw
PP> in the code that the status is always changed to READ_ONLY. 

The reason being that the key can't be changed permanently.  After the
next time you start the agent you'll recreate the user with the
password specified in the configuration file.  Since the configuration
file will always wipe out any changes to the user, it doesn't make
sense to allow changes to the user.

You can, however, create a user dynamically using the usmUserTable (and
possibly the snmpusm command) to create a user which will then persist
as is across reboots of the agent.
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to