[evolution-data-server] M!74 - LDAP: Don't force LDAPS port to 636



commit 11075d141fb698fe0edeca4eb4935d5ea86c38c7
Author: Christoph Ruegge <c ruegge math uni-goettingen de>
Date:   Thu Jul 29 16:56:46 2021 +0200

    M!74 - LDAP: Don't force LDAPS port to 636
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/74

 src/addressbook/backends/ldap/e-book-backend-ldap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/addressbook/backends/ldap/e-book-backend-ldap.c 
b/src/addressbook/backends/ldap/e-book-backend-ldap.c
index c37d67a07..934cf8b8f 100644
--- a/src/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/src/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -810,7 +810,7 @@ e_book_backend_ldap_connect (EBookBackendLDAP *bl,
                        return FALSE;
                }
 
-               if (bl->priv->ldap_port == LDAPS_PORT && bl->priv->security == E_SOURCE_LDAP_SECURITY_LDAPS) {
+               if (bl->priv->security == E_SOURCE_LDAP_SECURITY_LDAPS) {
 #ifdef SUNLDAP
                        if (ldap_error == LDAP_SUCCESS) {
                                ldap_set_option (blpriv->ldap, LDAP_OPT_RECONNECT, LDAP_OPT_ON );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]