evolution libsoup and samba bug 765106

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



Hello everyone,

while i was play around with winhq install 

winbind-clients.

After this I never can open evolution with exchange ews connector.

https://bugzilla.gnome.org/show_bug.cgi?id=765106

I patches libsoup by my self 

diff -up ./libsoup/soup-auth-ntlm.c.prev ./libsoup/soup-auth-ntlm.c
--- ./libsoup/soup-auth-ntlm.c.prev	2016-04-15 14:18:02.680276592 +0200
+++ ./libsoup/soup-auth-ntlm.c	2016-04-15 15:20:00.337116508 +0200
@@ -359,6 +359,7 @@ soup_auth_ntlm_update_connection (SoupCo
 			conn->state = SOUP_NTLM_SSO_FAILED;
 			success = FALSE;
 		} else if (!g_ascii_strcasecmp (response, "PW")) {
+			conn->state = SOUP_NTLM_SSO_FAILED;
 			priv->sso_available = FALSE;
 			g_free (response);
 		} else {
@@ -489,7 +490,7 @@ soup_auth_ntlm_get_connection_authorizat
 					priv->sso_available = FALSE;
 				}
 			} else {
-				g_warning ("NTLM single-sign-on using %s failed", NTLM_AUTH);
+				g_debug ("NTLM single-sign-on using %s failed", NTLM_AUTH);
 			}
 		}
 		/* If NTLM single-sign-on fails, go back to original
@@ -525,7 +526,7 @@ soup_auth_ntlm_get_connection_authorizat
 #ifdef USE_NTLM_AUTH
 	case SOUP_NTLM_SSO_FAILED:
 		/* Restart request without SSO */
-		g_warning ("NTLM single-sign-on by using %s failed", NTLM_AUTH);
+		g_debug ("NTLM single-sign-on by using %s failed", NTLM_AUTH);
 		priv->sso_available = FALSE;
 		header = soup_ntlm_request ();
 		conn->state = SOUP_NTLM_SENT_REQUEST;

and rebuild 

mock SRPMS/libsoup-2.48.1-4.el7.centos.src.rpm

Now I can open evolution with winbind-cients installed.

http://centos.cms4all.org/centos/7/other/SRPMS/libsoup-2.48.1-4.el7.centos.src.rpm



Hopefully without any other side effect.

Sincerely

Andy

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux