commit 8ae2860c5457214ab955f1783bd67a8f61e6823e
parent 72a9c0b46adc467c6ceacc608bceff52c19950dd
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sat, 20 Jun 2015 23:03:50 +0200
Allow TLS connections to LDAP on Windows.
The comment no longer applies, TLS seems to work fine for LDAP
connections on Windows. Closes bug #2827 - Feature request: Add
TLS/SSL support for LDAP server access
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/editldap.c b/src/editldap.c
@@ -480,9 +480,7 @@ static void addressbook_edit_ldap_page_basic( gint pageNum, gchar *pageLbl ) {
"If connection fails, be sure to check the correct "
"configuration in ldap.conf (TLS_CACERTDIR and TLS_REQCERT fields)." ));
-#ifdef G_OS_UNIX /* Win32's ldap_start_tls_s() does not work, for some reason. */
gtk_box_pack_start (GTK_BOX (hbox_spin), enable_tls_checkbtn, TRUE, FALSE, 0);
-#endif
gtk_box_pack_start (GTK_BOX (hbox_spin), enable_ssl_checkbtn, TRUE, FALSE, 0);
#endif