I#1608 - ConfigLookup: Default to STARTTLS for LDAP from SRV records

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1608
This commit is contained in:
Milan Crha
2023-10-17 18:33:27 +02:00
parent 4e0b1a44ce
commit b88fada36c

View File

@ -262,7 +262,7 @@ srv_config_lookup_domain_sync (EConfigLookup *config_lookup,
if (g_str_equal (known_services[ii].gio_protocol, "ldaps"))
security = E_SOURCE_LDAP_SECURITY_LDAPS;
else
security = E_SOURCE_LDAP_SECURITY_NONE;
security = E_SOURCE_LDAP_SECURITY_STARTTLS;
e_config_lookup_result_simple_add_enum (lookup_result,
E_SOURCE_EXTENSION_LDAP_BACKEND, "security",