Bug 140896 - not possible to disable TLS
Summary: not possible to disable TLS
Status: RESOLVED FIXED
Alias: None
Product: korn
Classification: Miscellaneous
Component: general (show other bugs)
Version: 0.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Mart Kelder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 15:54 UTC by schoden
Modified: 2007-02-22 08:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schoden 2007-01-30 15:54:53 UTC
Version:           0.4 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc  4.1.2 
OS:                Linux

It is not possible to disable the TLS option for pop3 account. You can choose 'no TLS', but after confirming -click OK and change back to server configuration - the option shows 'TLS, if possible'. And the application doesn't disable TLS, because our server send an error message: "authentication aborted, An error occured during authentication: SASL(-4): No mechanism available: No worthy mechs found is not supported". An older version of korn did it.
Comment 1 Mart Kelder 2007-02-22 08:07:36 UTC
SVN commit 636159 by mkelder:

This bugfix makes the options which store the data as metadata work again.
Thought this, it is possible again to disable TLS.

BUG: 140896


 M  +3 -2      kio_proto.cpp  
 M  +2 -0      pop3_proto.cpp  


--- branches/KDE/3.5/kdepim/korn/kio_proto.cpp #636158:636159
@@ -20,6 +20,7 @@
 #include "kio_proto.h"
 
 #include <kconfig.h>
+#include <kdebug.h>
 
 #include <qmap.h>
 
@@ -64,13 +65,13 @@
 
 	if( map->contains( "metadata" ) )
 	{
-		QStringList list = QStringList::split( *map->find( "metadata" ), "," );
+		QStringList list = QStringList::split( ",", *map->find( "metadata" ) );
 		QStringList::Iterator it;
 		for( it = list.begin(); it != list.end(); ++it )
 		{
 			int split = (*it).find( '=' );
 
-			map->insert( (*it).left( split ), (*it).right( (*it).length() - split - 1 ) );
+			metadata->insert( (*it).left( split ), (*it).right( (*it).length() - split - 1 ) );
 		}
 	}
 
--- branches/KDE/3.5/kdepim/korn/pop3_proto.cpp #636158:636159
@@ -21,6 +21,8 @@
 
 #include "account_input.h"
 
+#include <kdebug.h>
+
 #include <qwidget.h>
 #include <qobject.h>
 #include <qstringlist.h>
Comment 2 Mart Kelder 2007-02-22 08:09:45 UTC
Thanks for your report.