|
|
| Author |
Message |
mojiro Cacti User
Joined: 24 Jul 2005 Posts: 60 Location: Greece, Korydallos - Athens (AWMN)
|
Posted: Sun Jul 06, 2008 7:42 am Post subject: Firefox v3 & Cacti SNMP v3 Passwords |
|
|
If you have enabled firefox's "password save", and you have saved the login password... then when you will create/edit a host firefox will attempt to complete the SNMP v3 Password although it is hidden!
Of course the same problem exists at every page that has "SNMP v3 Password".
The problem ? password field is being completed, password-confirmation field probably not and an error comes up from Cacti...
To fix it, open cacti/host.php near 147' line or find
| Quote: | | if ($_POST["snmp_password"] != $_POST["snmp_password_confirm"]) { |
and replace it with
| Quote: | | if ($_POST["snmp_version"] == 3 && ($_POST["snmp_password"] != $_POST["snmp_password_confirm"])) { |
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Sun Jul 06, 2008 8:11 am Post subject: |
|
|
Cool! That fixed it!
It's actually line 148.  |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Sun Jul 06, 2008 12:18 pm Post subject: |
|
|
Updated in SVN as commit#4621
Thanks for the patch!
Reinhard |
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Wed Jul 09, 2008 8:27 am Post subject: |
|
|
| Could this post be stickied, so that it's not easily lost on the next page? |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Wed Jul 09, 2008 9:21 am Post subject: |
|
|
Sticky 'til 087c comes out
Reinhard |
|
| Back to top |
|
 |
mojiro Cacti User
Joined: 24 Jul 2005 Posts: 60 Location: Greece, Korydallos - Athens (AWMN)
|
Posted: Thu Jul 10, 2008 1:50 am Post subject: |
|
|
| remember to fix the same problem wherever exists SNMP v3 Password or! input text field with name="password" |
|
| Back to top |
|
 |
|