Submitted by sgrayban on Mon, 07/27/2009 - 06:18
I am using the pre-release of vm server that Jamie sent me last night and ran into a bug....
changing the username or password for any domain database does not work. If you change the username it looks like it works but then when you go to change the password next you get a error the user is not there.
If you try to change the the user back to the default one it gives...
Failed to change database usernames : Missing or invalid username Call Stack Trace File Line Function /usr/share/webmin/virtual-server/save_dbname.cgi 16 WebminCore::error (eval 62) 6 (eval) /usr/share/webmin/miniserv.pl 2143 (eval) /usr/share/webmin/miniserv.pl 751 miniserv::handle_request
So something has broken.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 07/27/2009 - 10:54 Comment #1
You're right - I will get a patch for this into 3.71 before it is released.
If you want to apply it right now, the patch is below :
Index: list_databases.cgi
===================================================================
--- list_databases.cgi (revision 6117)
+++ list_databases.cgi (working copy)
@@ -132,9 +132,9 @@
$ufunc = "${f}_user";
$un = &$ufunc($d);
print &ui_table_row($text{'feature_'.$f},
- &ui_radio_table($f."_def", 0,
- [ [ 0, &text('databases_leave', "<tt>$un</tt>") ],
- [ 1, $text{'databases_newuser'},
+ &ui_radio_table($f."_def", 1,
+ [ [ 1, &text('databases_leave', "<tt>$un</tt>") ],
+ [ 0, $text{'databases_newuser'},
&ui_textbox($f, undef, 20) ] ]));
}
Submitted by sgrayban on Mon, 07/27/2009 - 13:44 Comment #2
I knew I wasn't going insane... thanks I'll patch Nick's box today.
Submitted by Issues on Mon, 08/10/2009 - 14:18 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.