Bug #640083 - Cannot configure LDAPS on port 636
This commit is contained in:
@ -701,7 +701,7 @@ port_entry_changed_cb (GtkWidget *w, AddressbookSourceDialog *sdialog)
|
||||
const gchar *port = gtk_entry_get_text ((GtkEntry *) w);
|
||||
|
||||
if (!strcmp (port, LDAPS_PORT_STRING)) {
|
||||
sdialog->ssl = ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE;
|
||||
sdialog->ssl = ADDRESSBOOK_LDAP_SSL_ALWAYS;
|
||||
gtk_combo_box_set_active (GTK_COMBO_BOX (sdialog->ssl_combobox), sdialog->ssl);
|
||||
gtk_widget_set_sensitive (sdialog->ssl_combobox, FALSE);
|
||||
} else {
|
||||
|
||||
@ -42,8 +42,8 @@ typedef enum {
|
||||
|
||||
/* the order matches order of items in "ssl-combobox" */
|
||||
typedef enum {
|
||||
ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE, /* SSL */
|
||||
ADDRESSBOOK_LDAP_SSL_ALWAYS, /* TLS */
|
||||
ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE, /* TLS */
|
||||
ADDRESSBOOK_LDAP_SSL_ALWAYS, /* SSL */
|
||||
ADDRESSBOOK_LDAP_SSL_NEVER /* No encryption */
|
||||
} AddressbookLDAPSSLType;
|
||||
|
||||
|
||||
@ -21,10 +21,10 @@
|
||||
</columns>
|
||||
<data>
|
||||
<row>
|
||||
<col id="0" translatable="yes">SSL encryption</col>
|
||||
<col id="0" translatable="yes">TLS encryption</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes">TLS encryption</col>
|
||||
<col id="0" translatable="yes">SSL encryption</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="yes">No encryption</col>
|
||||
|
||||
Reference in New Issue
Block a user