[evolution-patches] Re: Exchange connector - patch for #71995



Thanks.
Committed with that fix.

-Sushma.

Sarfraaz Ahmed wrote:

Looks fine. As discussed on IRC, we dont need to forget password when only the account name is changed.

-- Sarfraaz

Sushma Rai wrote:

Hi,

Attached is the patch for handling modifications to owa url.
Please review.

Thanks,
Sushma.
------------------------------------------------------------------------

Index: storage/exchange-config-listener.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/storage/exchange-config-listener.c,v
retrieving revision 1.12
diff -u -p -r1.12 exchange-config-listener.c
--- storage/exchange-config-listener.c 27 Jan 2005 12:11:39 -0000 1.12
+++ storage/exchange-config-listener.c    11 Feb 2005 09:02:26 -0000
@@ -683,9 +683,15 @@ account_changed (EAccountList *account_l
        return;
    }

- if (strcmp (config_listener->priv->configured_name, account->name) != 0) {
-        /* account name has been changed, remove old e-sources */
+ if (strcmp (config_listener->priv->configured_uri, account->source->url) || + strcmp (config_listener->priv->configured_name, account->name)) { + /* account name has been changed, or the url value has been + * changed, which could be due to change in hostname or some + * parameter value. In both the cases remove old e-sources */
        remove_sources (priv->exchange_account);
+
+        /* Ask user to authenticate at next login */
+        exchange_account_forget_password (priv->exchange_account);
    }

    /* Nope. Let the user know we're ignoring him. */





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