[evolution-patches] patch for bug #71752 (camel-groupwise-store.c)
- From: "Jain Vivek" <jvivek novell com>
- To: <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch for bug #71752 (camel-groupwise-store.c)
- Date: Tue, 08 Feb 2005 22:02:39 -0700
oops! sorry I forgot to attach the patch file.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.16
diff -u -p -r1.16 ChangeLog
--- ChangeLog 8 Feb 2005 15:27:19 -0000 1.16
+++ ChangeLog 9 Feb 2005 04:57:13 -0000
@@ -1,3 +1,9 @@
+2005-02-09 Vivek Jain <jvivek novell com>
+
+ * camel-groupwise-store.c:
+ (groupwise_auth_loop): make sure auth_domain is "Groupwise"
+ Fixes bug ** #71752
+
2005-02-08 Parthasarathi Susarla <sparthasarathi novell com>
* camel-groupwise-utils.c:
Index: camel-groupwise-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-store.c,v
retrieving revision 1.27
diff -u -p -r1.27 camel-groupwise-store.c
--- camel-groupwise-store.c 8 Feb 2005 08:17:26 -0000 1.27
+++ camel-groupwise-store.c 9 Feb 2005 04:57:16 -0000
@@ -338,20 +338,19 @@ groupwise_auth_loop (CamelService *servi
CamelGroupwiseStorePrivate *priv = groupwise_store->priv;
char *errbuf = NULL;
gboolean authenticated = FALSE;
- const char *auth_domain;
char *uri;
CAMEL_SERVICE_ASSERT_LOCKED (groupwise_store, connect_lock);
- auth_domain = camel_url_get_param (service->url, "auth-domain");
if (priv->use_ssl && !g_str_equal (priv->use_ssl, "never"))
uri = g_strconcat ("https://", priv->server_name, ":", priv->port, "/soap", NULL);
else
uri = g_strconcat ("http://", priv->server_name, ":", priv->port, "/soap", NULL);
service->url->passwd = NULL;
+
while (!authenticated) {
if (errbuf) {
/* We need to un-cache the password before prompting again */
- camel_session_forget_password (session, service, auth_domain, "password", ex);
+ camel_session_forget_password (session, service, "Groupwise", "password", ex);
g_free (service->url->passwd);
service->url->passwd = NULL;
}
@@ -365,7 +364,7 @@ groupwise_auth_loop (CamelService *servi
service->url->user,
service->url->host);
service->url->passwd =
- camel_session_get_password (session, service, auth_domain,
+ camel_session_get_password (session, service, "Groupwise",
prompt, "password", CAMEL_SESSION_PASSWORD_SECRET, ex);
g_free (prompt);
g_free (errbuf);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]