[Bug 276181] Re: gadmin-proftpd crashes on startup
Magnus
magnus.loef at gmail.com
Fri Nov 21 17:43:13 UTC 2008
You could just diff the packages like this:
### diff -Nau gadmin-proftpd-0.3.2/src/gadmin_proftpd.c gadmin-proftpd-0.3.3/src/gadmin_proftpd.c
--- gadmin-proftpd-0.3.2/src/gadmin_proftpd.c 2008-07-06 20:02:14.000000000 +0200
+++ gadmin-proftpd-0.3.3/src/gadmin_proftpd.c 2008-10-09 22:00:11.000000000 +0200
@@ -130,14 +130,12 @@
}
-
/* Create the main window */
create_main_window(widgets);
-
+
/* Set ProFTPD Version */
set_version(widgets);
-
/* If proftpd has the mod_tls module we
create, show and use the TLS widgets */
use_tls = using_tls();
@@ -183,7 +181,7 @@
/* Add default certificate settings if they are missing */
openssl_conf = g_strdup_printf("%s/certs/gadmin-proftpd-openssl.conf", GP_APPCONFDIR);
- if( ! file_exists(openssl_conf) )
+ if( ! file_exists(openssl_conf) && use_tls )
{
info = g_strdup_printf("%s/certs", GP_APPCONFDIR);
gtk_entry_set_text(GTK_ENTRY(widgets->server_set_entry[15]), info);
...
There are more changes so just use the latest package like Debian does.
The problem is that Ubuntu's proftpd package doesnt provide any sort of encryption but also,
when gadmin-proftpd tried to insert contents into that 15:th entry it didnt check
that it existed and just assumed that it did because its rare not using encryption these days.
Why arent you just adding the latest version ?
And also, why not compile proftpd with mod_tls to keep the servers safer ?
(Update proftpd to the latest if not done already)
--
gadmin-proftpd crashes on startup
https://bugs.launchpad.net/bugs/276181
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list