[SOLVED] Error: Passwords do not match, please retype.
Moderators: Developers, Moderators
Don't need nothing fancy
Apparently some boxes are recognized as password-boxes by browsers.
FF3 and some other browsers have difficulty making the difference.
This might be FF3 or cacti-related.
After I removed the password for my cacti-site from the password-cache in FF3 everything worked ok.
So no IE-tab or other browsers are needed. Just type your password instead of saving it on FF3.
FF3 and some other browsers have difficulty making the difference.
This might be FF3 or cacti-related.
After I removed the password for my cacti-site from the password-cache in FF3 everything worked ok.
So no IE-tab or other browsers are needed. Just type your password instead of saving it on FF3.
-
- Cacti User
- Posts: 175
- Joined: Sun May 27, 2007 5:42 pm
Hi All
Today I suddenly realized that I cannot add in new device or save the existing device.
I get the same error message of:
Error: Passwords do not match, please retype.
I'm using Firefox 3.0 (released version) in openSUSE 11.0 Linux.
I then try using Konqueror of KDE 3.5 (openSUSE 11.0) and it works!
SH
Today I suddenly realized that I cannot add in new device or save the existing device.
I get the same error message of:
Error: Passwords do not match, please retype.
I'm using Firefox 3.0 (released version) in openSUSE 11.0 Linux.
I then try using Konqueror of KDE 3.5 (openSUSE 11.0) and it works!
SH
Here is a workaround that works for me on Firefox 3.0.1 on Windows XP:
1) Go to the host.php page of the device your want to modify
2) Select SNMP Version 3 in the corresponding listbox
3) Delete the password in the "SNMP Password (v3)" field
4) Re-select SNMP Version 1 or 2 in the corresponding listbox
5) Save
cheers
youri
1) Go to the host.php page of the device your want to modify
2) Select SNMP Version 3 in the corresponding listbox
3) Delete the password in the "SNMP Password (v3)" field
4) Re-select SNMP Version 1 or 2 in the corresponding listbox
5) Save
cheers
youri
-
- Posts: 1
- Joined: Thu Jul 31, 2008 1:14 pm
Temporary Solution for Ubuntu Hardy Users
I was able to get around this by un-checking Remember Passwords for Sites in FF.
I am running Ubuntu 8.04 - Desktop and FF 3.0.1
Hope this gets fixed soon by Mozilla as I view this as a temporary solution only.
I am running Ubuntu 8.04 - Desktop and FF 3.0.1
Hope this gets fixed soon by Mozilla as I view this as a temporary solution only.
-
- Posts: 14
- Joined: Tue May 27, 2008 2:45 am
I tried that and it seems to work! What I did was to add an autocomplete parameter to form_text_box in lib/html_form.php and turned autocomplete off on password-fields and fields called something with "username" in it. It's a hack, I know, but it looks like it works.vengent wrote:what about flagging the form fields autocomplete=off?
Not sure if that works for saved passwords or not, but helps with the random cruft.
-
- Posts: 2
- Joined: Mon Sep 29, 2008 9:54 am
PATCH: This corrects the behavior
Since Firefox's autocomplete mechanism fires after the window.onload, you cannot do value='' in the JS, instead you should do a setAttribute. Here is a patch that applies the correction.
Even though I posted the patch code above, due to tab->space conversion in this forum, I suggest using the attached file instead.
The easiest way to apply this patch is to cd to your cacti directory and:
1. THIS IS IMPORTANT. Verify the validity of the URI like this:
2. If it looks like a safe patch, then apply it directly from that URI via curl:
Code: Select all
diff -u cacti-0.8.7b/host.php cacti-patched/host.php
--- cacti-0.8.7b/host.php 2008-02-11 19:57:48.000000000 -0500
+++ cacti-patched/host.php 2008-09-29 10:24:11.000000000 -0400
@@ -878,6 +878,8 @@
function setSNMP(snmp_type) {
switch(snmp_type) {
case "None":
+ document.getElementById('snmp_username').setAttribute('autocomplete', 'off');
+ document.getElementById('snmp_password').setAttribute('autocomplete', 'off');
document.getElementById('row_snmp_username').style.display = "none";
document.getElementById('row_snmp_password').style.display = "none";
document.getElementById('row_snmp_community').style.display = "none";
@@ -891,6 +893,8 @@
break;
case "v1v2":
+ document.getElementById('snmp_username').setAttribute('autocomplete', 'off');
+ document.getElementById('snmp_password').setAttribute('autocomplete', 'off');
document.getElementById('row_snmp_username').style.display = "none";
document.getElementById('row_snmp_password').style.display = "none";
document.getElementById('row_snmp_community').style.display = "";
The easiest way to apply this patch is to cd to your cacti directory and:
1. THIS IS IMPORTANT. Verify the validity of the URI like this:
Code: Select all
curl -L http://forums.cacti.net/download.php?id=14681
Code: Select all
curl -L http://forums.cacti.net/download.php?id=14681|patch -p1 -N
- Attachments
-
- fix_snmp_password_completion.patch
- This patch makes fixes the issue that Firefox has with the host edit page.
- (1.1 KiB) Downloaded 1922 times
-
- Posts: 4
- Joined: Thu Nov 06, 2008 10:04 am
- Location: Switzerland
Hi.
How has this issue been solved? Is a patch available? in the discussion thread for Cacti 0.8.7c Beta 1 it just lists "-bug: Host save failed in FireFox 3 for non-SNMP V3 hosts, complaining about "password mismatch" without giving a bug number.
Thanks,
Michael
How has this issue been solved? Is a patch available? in the discussion thread for Cacti 0.8.7c Beta 1 it just lists "-bug: Host save failed in FireFox 3 for non-SNMP V3 hosts, complaining about "password mismatch" without giving a bug number.
Thanks,
Michael
Re: PATCH: This corrects the behavior
I'm trying to do it, but nothing comes out.
I understand the system must be stopped before that? I do kill, but the process is immediately revived.
Please help. It is necessary for a diploma project.
Thanks in advance!
RichardBronosky wrote: 2. If it looks like a safe patch, then apply it directly from that URI via curl:Code: Select all
curl -L http://forums.cacti.net/download.php?id=14681|patch -p1 -N
Code: Select all
bolik@smalgene:/home/usr/share/cacti/site$ sudo curl -L http://forums.cacti.net/download.php?id=14681|patch -p1 -N
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1122 100 1122 0 0 1312 0 --:--:-- --:--:-- --:--:-- 1312
patching file host.php
patch: **** Can't remove file host.php : Permission denied
I understand the system must be stopped before that? I do kill, but the process is immediately revived.
Please help. It is necessary for a diploma project.
Thanks in advance!
Who is online
Users browsing this forum: No registered users and 2 guests