Hi you all,
I'm new in the world of net-snmp but I'm trying to understand it fast. Me and
my co-worker have a problem about changing passwords using the command snmpusm,
when those have been defined in the snmp.conf file. We are using net-snmp
version 5.3.2.
In the next lines there is a small description of what has been done and what
is generating problems:
Sample of snmp.conf
...
rwuser user1 authnopriv
rwuser user2 authpriv
createUser user1 MD5 pass1
createUser user2 MD5 pass2 DES pass2
...
The soluction we have encounter to change the password of user1 through user2
is to delete him and create a new one with same name. After that it is possible
to change the password of this new user.
We cannot change directly the password of any user using only the next commands:
Commands tested:
snmpusm -v 3 -u user2 -n "" -l authPriv -a MD5 -A pass2 -x DES -X pass2
localhost passwd pass2 pass2_n
Error in packet.
Reason: inconsistentName (That object can not currently be created)
Failed object:
SNMP-USER-BASED-SM-MIB::usmUserOwnAuthKeyChange.".....zzzzz"."pass2"
# snmpusm -v 3 -u user2 -n "" -l authPriv -a MD5 -A pass2 -x DES -X pass2
localhost passwd pass1 pass1_n user1
Error in packet.
Reason: inconsistentName (That object can not currently be created)
Failed object: SNMP-USER-BASED-SM-MIB::usmUserAuthKeyChange.".....zzzzz"."pass1"
How can I change the passwords in real time for these users with the
configuration mentioned above.
Can you provide me some help about these issues? Tnx in advance.
Sérgio Cabaço
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders