-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net-snmp-create-v3-user quoting an empty privpass leads to error #86
Comments
I believe, this could do the trick. @bvanassche what do you think?
|
Please take a look at commit 09a0c90. |
Looks great. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
createUser privpass is optional as shown in 'man snmpd.conf'
However, in fixing bug #2812 privpass is quoted even when it is empty:
https://sourceforge.net/p/net-snmp/bugs/2812/
https://sourceforge.net/p/net-snmp/code/ci/e5ad10de8e175e443351be3e14e87067ff9bded8
This leads to this error:
/var/lib/net-snmp/snmpd.conf
And so it does not actually create the user.
If I manually delete the "" in /var/lib/net-snmp/snmpd.conf and then start it works.
Either createUser needs to check for blank passwords and ignore them or net-snmp-create-v3-user should check for blank passwords and not add the "" to /var/lib/net-snmp/snmpd.conf.
The text was updated successfully, but these errors were encountered: