@Canoncial:  quick win
This really is an easy to solve issue / quick win.
Please include:
    /usr/bin/net-snmp-create-v3-user 
this will fix this issue (see comment #10 by Wylie for details)

@all other users:
Workaround does really work
=======================
Adding a the createUser line to snmpd as described by Sascha Lucas in comment 
#4 works also, because is is basically the same steps the script does.
Do not be confused, while starting the snmpd does this steps:
  1. read the "createUser" line in /var/lib/snmp/snmpd.conf
  2. add a new "usmUser" line in  /var/lib/snmp/snmpd.conf
  3. remove the "createUser" line
Sure, this may look as if nothing is done or the file is just reset to default, 
but the user is really created.

Verify User Creation
================
Say you created
  user   icinga
  authprotocol  SHA
  authpassphrase 'P1'
  privacyprotocol AES
  privacypassphrase 'P2'
then you can check if there is output for:  
# snmpwalk -v3 -u icinga -l authPriv -a SHA -A 'P1' -x AES -X 'P2' localhost

Kind regards,
Thorsten

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1322431

Title:
  libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to