Evolution: Exchange-Connector-setup 2.24.2 unable to log in to exchange
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evolution-exchange (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: evolution-exchange
Ubuntu 8.10 Intrepid 32bit (x86)
Unable to log into Exchange using Evolution 2.24.2. After a redirect from the main OWA url, we are at the OWA logon again. Just sits there. Seems to have confused the exchange connector. Tried through both evolution and evolution-
Exchange 2003 Server
OWA URL: https:/
LOGIN: domain\<user>
MAILBOX: <user>
Tried the various ways of specifying the OWA with no luck. I'm able to log into OWA with no problems using firefox of course.
-------
VERSION INFO:
jason@jfroebe-
Description: Ubuntu 8.10
Release: 8.10
ason@jfroebe-
evolution-exchange:
Installed: 2.24.2-0ubuntu1
Candidate: 2.24.2-0ubuntu1
Version table:
*** 2.24.2-0ubuntu1 0
500 http://
100 /var/lib/
2.
500 http://
-------------------
EXCHANGE-
jason@jfroebe-
> GET /exchange HTTP/1.1
> Soup-Debug-
> Soup-Debug: SoupSessionSync 1 (0x897b538), SoupMessage 1 (0x8669808), SoupSocket 1 (0x881a970)
> Host: webmail.
> Accept-Language: en-US, en
> Authorization: NTLM TlRMTVNTUAABAAA
> User-Agent: Evolution/2.24.2
< HTTP/1.1 302 Moved Temporarily
< Soup-Debug-
< Soup-Debug: SoupMessage 1 (0x8669808)
< Connection: Keep-Alive
< Content-Length: 0
< Location: https:/
< Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
< Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
> GET /cookieauth.
> Soup-Debug-
> Soup-Debug: SoupSessionSync 1 (0x897b5f8), SoupMessage 1 (0x86698b8), SoupSocket 1 (0x881aa90)
> Host: webmail.
> Accept-Language: en-US, en
> Authorization: NTLM TlRMTVNTUAABAAA
> User-Agent: Evolution/2.24.2
< HTTP/1.1 200 OK
< Soup-Debug-
< Soup-Debug: SoupMessage 1 (0x86698b8)
< Connection: Keep-Alive
< Content-Length: 15927
< Pragma: no-cache
< Cache-control: no-cache,
<
< <!-- {57A118C6-
< <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< <!--Copyright (c) 2000-2003 Microsoft Corporation. All rights reserved.-->
< <HTML>
< <HEAD>
< <META HTTP-EQUIV=
< <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
< <META HTTP-EQUIV=
< <TITLE>Microsoft Outlook Web Access</TITLE>
< <STYLE>
< BODY {font-size:70%;}
< TABLE {font-size:100%}
< SELECT, INPUT, TEXTAREA, BUTTON, LABEL, BODY
< {
< font-family:
< }
< a:link { color: #3D5FA3; text-decoration: none }
< a:visited { color: #3D5FA3; text-decoration: none }
< a:hover { text-decoration: underline }
< .sideBar
< {
< background-image: url(/CookieAuth
< background-repeat: repeat-y;
< vertical-
< height:100%;
< }
< .logoTD
< {
< BORDER-TOP-WIDTH: 1px;
< BORDER-LEFT-WIDTH: 1px;
< PADDING-BOTTOM: 5px;
< BORDER-BOTTOM: #ecbe3e 1px solid;
< BORDER-RIGHT-WIDTH: 1px;
< }
< .mainTable
< {
< BORDER-RIGHT: #243760 1px solid;
< BORDER-TOP: #243760 1px solid;
< BORDER-LEFT: #243760 1px solid;
< BORDER-BOTTOM: #243760 1px solid;
< BORDER-COLLAPSE: collapse;
< }
< .standardTable
< {
< BORDER-COLLAPSE: collapse;
< }
< </STYLE>
< <NOSCRIPT>
< <TABLE id="borderTable" dir="LTR" class="
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="50%">
< <TABLE style="border:2px solid black;" cellpadding=0 cellspacing=0 valign="middle" align="center" BGCOLOR="#FFFFE1" border=0>
< <TR><TD rowspan=3 width=20>
< <TR>
< <TD>
< <font color='red' size=3>
< <P>Your Web browser is configured not to run script or doesn't support script in Web pages. Check your browser settings, or use a browser that can run script. </P>
< </font>
< </TD>
< </TR>
< <TR><TD>
< </TABLE>
< </TD>
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< </TABLE>
< </NOSCRIPT>
< <SCRIPT language=
< function onClickHelp()
< {
< var oEvtId = window.
<
< switch(oEvtId)
< {
< case "lnkShowClient":
< {
< trPremium.
< trBasic.
< lnkShowClient.
< lnkHideClient.
< lnkHideClient.
< break;
< }
< case "lnkHideClient":
< {
< trPremium.
< trBasic.
< lnkShowClient.
< lnkHideClient.
< lnkShowClient.
< break;
< }
< case "lnkShowTrust":
< {
< trPublic.
< trTrusted.
< trWrn.style.
< lnkShowTrust.
< lnkHideTrust.
< lnkHideTrust.
< break;
< }
< case "lnkHideTrust":
< {
< trPublic.
< trTrusted.
< lnkShowTrust.
< lnkHideTrust.
< lnkShowTrust.
< showWarning();
< break;
< }
< }
< }
<
< function showWarning()
< {
< var oPubDesc = document.
< var rdoTrustedGrp = document.
<
< if (oPubDesc.
< {
< if (rdoTrustedGrp[
< trWrn.style.display = "none";
< else
< trWrn.style.display = "";
< }
< }
<
< function onClickSecurity()
< {
< var rdoTrustedGrp = document.
< showWarning();
<
< if (rdoTrustedGrp[
< document.
< else
< document.
<
< }
< </SCRIPT>
< </HEAD>
< <BODY scroll="AUTO" bgColor="#3D5FA3" text="#000000" leftMargin=0 topMargin=0 onload=
< <FORM action=
< <INPUT type="hidden" name="destination" value="
< <INPUT type="hidden" name="flags" value="0">
< <TABLE id="borderTable" class="
< <TR height=20>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="33%" valign="top">
< <TABLE id="mainTable" class="mainTable" cellSpacing=0 cellPadding=0 width=550 bgColor="#FFFFFF" border=0>
< <TR>
< <TD><img title="" alt="" src="/CookieAut
< <TD height="100%" valign=top>
< <TABLE id="sidebarTable" class="
< <TR><TD width="100%" height="100%"><IMG title="" alt="" height=421 src="/CookieAut
< </TABLE>
< </TD>
< <TD><img title="" alt="" src="/CookieAut
< <TD width="100%" valign=top>
< <TABLE id="logoTable" dir="LTR" cellSpacing=0 cellPadding=0 width="100%" border="0" bgColor="#FFFFFF">
< <TR>
< <TD vAlign=top align="right" width="100%" height=120 style="padding-top: 15">
< <IMG title="" alt="" height=12 src="/CookieAut
< </TD>
< </TR>
< <TR>
< <TD class="logoTD" width="100%">
< <IMG title="Microsoft Office Outlook Web Access provided by Microsoft Exchange Server" alt="Microsoft Office Outlook Web Access provided by Microsoft Exchange Server" height=62 src="/CookieAut
< </TD>
< </TR>
< <TR>
< <TD width="100%">
< <TABLE id="usertxtTable" width="100%" cellspacing=0 cellpadding=0 border=0 bgColor="#FFFFFF">
< <TR><TD noWrap align="left" valign="top" height=
< <TR><TD><P style="
< <TR><TD noWrap align="left" valign="top" height=
< <TR>
< <TD VALIGN=top>
< <TABLE id="contentTable" width="100%" height="100%" cellpadding=0 cellspacing=0 border="0" bgColor="#FFFFFF">
< <TR>
< <TD NOWRAP width="
< <TD rowspan=
< <TD width="98%"><INPUT type="text" id="username" name="username" style="width:100%" size="25" maxlength=
< <TD rowspan=
< <TD width="
< </TR>
< <TR>
< <TD height="5"></TD>
< <TD valign="top" height="5"><img title="" alt="" src="/CookieAut
< <TD height=5></TD>
< </TR>
< <TR>
< <TD NOWRAP width="
< <TD width="98%"><INPUT type="password" autocomplete="off" style="width:100%" id="password" name="password" size="25" maxlength=
< <TD width="1%"><INPUT type="submit" value="Log On" id="SubmitCreds" name="SubmitCre
< </TR>
< <TR>
< <TD height="12"></TD>
< <TD valign="top" height="12"><img title="" alt="" src="/CookieAut
< <TD height=12></TD>
< </TR>
< <TR><TD>
< <TR><TD colspan="2"><TABLE cellspacing=0 cellpadding=
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR id="trPublic"
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR><TD colspan="2"><TABLE cellspacing=0 cellpadding=
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR id="trTrusted"
< <TR id="trWrn"
< </TABLE>
< </TD>
< </TR>
< </TABLE>
< </TD>
< </TR>
< <TR><TD colspan=2 width="
< </TABLE>
< </TD>
< </TR>
< </TABLE>
< <DIV dir="LTR" >
< <FONT color="#FFFFFF">
< <BR>
< To protect your account from unauthorized access, Outlook Web Access automatically ends your mail session after a period of inactivity. If your session ends, and the Logon page is not displayed, click on a mail folder (e.g., Inbox), and you should be redirected to the Logon page, where you can log on again.
< </FONT>
< </DIV>
< </TD>
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< </TABLE>
< </FORM>
< </BODY>
< </HTML>
-------
EVOLUTION:
jason@jfroebe-
evolution-
(evolution:19320): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:19320): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
e-data-
e-data-
> GET /exchange HTTP/1.1
> Soup-Debug-
> Soup-Debug: SoupSessionSync 1 (0x9a20368), SoupMessage 1 (0x95aaf78), SoupSocket 1 (0x98d31c0)
> Host: webmail.
> Accept-Language: en-US, en
> Authorization: NTLM TlRMTVNTUAABAAA
> User-Agent: Evolution/2.24.2
< HTTP/1.1 302 Moved Temporarily
< Soup-Debug-
< Soup-Debug: SoupMessage 1 (0x95aaf78)
< Connection: Keep-Alive
< Content-Length: 0
< Location: https:/
< Set-Cookie: sessionid=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
< Set-Cookie: cadata=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
> GET /cookieauth.
> Soup-Debug-
> Soup-Debug: SoupSessionSync 1 (0x9a202a8), SoupMessage 1 (0x95aad10), SoupSocket 1 (0x98d30a0)
> Host: webmail.
> Accept-Language: en-US, en
> Authorization: NTLM TlRMTVNTUAABAAA
> User-Agent: Evolution/2.24.2
< HTTP/1.1 200 OK
< Soup-Debug-
< Soup-Debug: SoupMessage 1 (0x95aad10)
< Connection: Keep-Alive
< Content-Length: 15927
< Pragma: no-cache
< Cache-control: no-cache,
<
< <!-- {57A118C6-
< <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< <!--Copyright (c) 2000-2003 Microsoft Corporation. All rights reserved.-->
< <HTML>
< <HEAD>
< <META HTTP-EQUIV=
< <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
< <META HTTP-EQUIV=
< <TITLE>Microsoft Outlook Web Access</TITLE>
< <STYLE>
< BODY {font-size:70%;}
< TABLE {font-size:100%}
< SELECT, INPUT, TEXTAREA, BUTTON, LABEL, BODY
< {
< font-family:
< }
< a:link { color: #3D5FA3; text-decoration: none }
< a:visited { color: #3D5FA3; text-decoration: none }
< a:hover { text-decoration: underline }
< .sideBar
< {
< background-image: url(/CookieAuth
< background-repeat: repeat-y;
< vertical-
< height:100%;
< }
< .logoTD
< {
< BORDER-TOP-WIDTH: 1px;
< BORDER-LEFT-WIDTH: 1px;
< PADDING-BOTTOM: 5px;
< BORDER-BOTTOM: #ecbe3e 1px solid;
< BORDER-RIGHT-WIDTH: 1px;
< }
< .mainTable
< {
< BORDER-RIGHT: #243760 1px solid;
< BORDER-TOP: #243760 1px solid;
< BORDER-LEFT: #243760 1px solid;
< BORDER-BOTTOM: #243760 1px solid;
< BORDER-COLLAPSE: collapse;
< }
< .standardTable
< {
< BORDER-COLLAPSE: collapse;
< }
< </STYLE>
< <NOSCRIPT>
< <TABLE id="borderTable" dir="LTR" class="
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="50%">
< <TABLE style="border:2px solid black;" cellpadding=0 cellspacing=0 valign="middle" align="center" BGCOLOR="#FFFFE1" border=0>
< <TR><TD rowspan=3 width=20>
< <TR>
< <TD>
< <font color='red' size=3>
< <P>Your Web browser is configured not to run script or doesn't support script in Web pages. Check your browser settings, or use a browser that can run script. </P>
< </font>
< </TD>
< </TR>
< <TR><TD>
< </TABLE>
< </TD>
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< </TABLE>
< </NOSCRIPT>
< <SCRIPT language=
< function onClickHelp()
< {
< var oEvtId = window.
<
< switch(oEvtId)
< {
< case "lnkShowClient":
< {
< trPremium.
< trBasic.
< lnkShowClient.
< lnkHideClient.
< lnkHideClient.
< break;
< }
< case "lnkHideClient":
< {
< trPremium.
< trBasic.
< lnkShowClient.
< lnkHideClient.
< lnkShowClient.
< break;
< }
< case "lnkShowTrust":
< {
< trPublic.
< trTrusted.
< trWrn.style.
< lnkShowTrust.
< lnkHideTrust.
< lnkHideTrust.
< break;
< }
< case "lnkHideTrust":
< {
< trPublic.
< trTrusted.
< lnkShowTrust.
< lnkHideTrust.
< lnkShowTrust.
< showWarning();
< break;
< }
< }
< }
<
< function showWarning()
< {
< var oPubDesc = document.
< var rdoTrustedGrp = document.
<
< if (oPubDesc.
< {
< if (rdoTrustedGrp[
< trWrn.style.display = "none";
< else
< trWrn.style.display = "";
< }
< }
<
< function onClickSecurity()
< {
< var rdoTrustedGrp = document.
< showWarning();
<
< if (rdoTrustedGrp[
< document.
< else
< document.
<
< }
< </SCRIPT>
< </HEAD>
< <BODY scroll="AUTO" bgColor="#3D5FA3" text="#000000" leftMargin=0 topMargin=0 onload=
< <FORM action=
< <INPUT type="hidden" name="destination" value="
< <INPUT type="hidden" name="flags" value="0">
< <TABLE id="borderTable" class="
< <TR height=20>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="33%" valign="top">
< <TABLE id="mainTable" class="mainTable" cellSpacing=0 cellPadding=0 width=550 bgColor="#FFFFFF" border=0>
< <TR>
< <TD><img title="" alt="" src="/CookieAut
< <TD height="100%" valign=top>
< <TABLE id="sidebarTable" class="
< <TR><TD width="100%" height="100%"><IMG title="" alt="" height=421 src="/CookieAut
< </TABLE>
< </TD>
< <TD><img title="" alt="" src="/CookieAut
< <TD width="100%" valign=top>
< <TABLE id="logoTable" dir="LTR" cellSpacing=0 cellPadding=0 width="100%" border="0" bgColor="#FFFFFF">
< <TR>
< <TD vAlign=top align="right" width="100%" height=120 style="padding-top: 15">
< <IMG title="" alt="" height=12 src="/CookieAut
< </TD>
< </TR>
< <TR>
< <TD class="logoTD" width="100%">
< <IMG title="Microsoft Office Outlook Web Access provided by Microsoft Exchange Server" alt="Microsoft Office Outlook Web Access provided by Microsoft Exchange Server" height=62 src="/CookieAut
< </TD>
< </TR>
< <TR>
< <TD width="100%">
< <TABLE id="usertxtTable" width="100%" cellspacing=0 cellpadding=0 border=0 bgColor="#FFFFFF">
< <TR><TD noWrap align="left" valign="top" height=
< <TR><TD><P style="
< <TR><TD noWrap align="left" valign="top" height=
< <TR>
< <TD VALIGN=top>
< <TABLE id="contentTable" width="100%" height="100%" cellpadding=0 cellspacing=0 border="0" bgColor="#FFFFFF">
< <TR>
< <TD NOWRAP width="
< <TD rowspan=
< <TD width="98%"><INPUT type="text" id="username" name="username" style="width:100%" size="25" maxlength=
< <TD rowspan=
< <TD width="
< </TR>
< <TR>
< <TD height="5"></TD>
< <TD valign="top" height="5"><img title="" alt="" src="/CookieAut
< <TD height=5></TD>
< </TR>
< <TR>
< <TD NOWRAP width="
< <TD width="98%"><INPUT type="password" autocomplete="off" style="width:100%" id="password" name="password" size="25" maxlength=
< <TD width="1%"><INPUT type="submit" value="Log On" id="SubmitCreds" name="SubmitCre
< </TR>
< <TR>
< <TD height="12"></TD>
< <TD valign="top" height="12"><img title="" alt="" src="/CookieAut
< <TD height=12></TD>
< </TR>
< <TR><TD>
< <TR><TD colspan="2"><TABLE cellspacing=0 cellpadding=
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR id="trPublic"
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR><TD colspan="2"><TABLE cellspacing=0 cellpadding=
< <TR><TD height=6><img title="" alt="" src="/CookieAut
< <TR id="trTrusted"
< <TR id="trWrn"
< </TABLE>
< </TD>
< </TR>
< </TABLE>
< </TD>
< </TR>
< <TR><TD colspan=2 width="
< </TABLE>
< </TD>
< </TR>
< </TABLE>
< <DIV dir="LTR" >
< <FONT color="#FFFFFF">
< <BR>
< To protect your account from unauthorized access, Outlook Web Access automatically ends your mail session after a period of inactivity. If your session ends, and the Logon page is not displayed, click on a mail folder (e.g., Inbox), and you should be redirected to the Logon page, where you can log on again.
< </FONT>
< </DIV>
< </TD>
< <TD width="
< </TR>
< <TR>
< <TD width="
< <TD width="
< <TD width="
< </TR>
< </TABLE>
< </FORM>
< </BODY>
< </HTML>
Jason,
This bug has been a thorn for years. All my attempts to get it fixed have failed. I feel like I'm trying to improve an M$ product.
Anyway, I have solved this problem, but it takes some work. You have to download, edit, build, and reinstall the exchange connector.
Step 1 download source data-server
cd to your home folder and run
apt-get source evolution-
Step 2 edit source file data-server- 2.24.3/ servers/ exchange/ lib/e2k- autoconfig. c
strstr (location, "/cookieauth.dll") ||
evolution-
find line 479 it should read "} else if (strstr (location, "/owalogon.asp") ||"
Insert a new line and type
after you are done make sure lines 479 480 and 481 look like
} else if (strstr (location, "/owalogon.asp") ||
strstr (location, "/cookieauth.dll") ||
strstr (location, "/CookieAuth.dll")) {
Step 3 build data-server- 2.24.3 data-server
cd to evolution-
debchange -i "fix cookieauth case"
sudo apt-get build-dep evolution-
dpkg-buildpackage
Step 4 Reinstall
cd to home folder and run
evolution --force-shutdown
dpkg -i *.deb
rerun the exchange setup and you should be good to go
This is a problem because of windows' inconsistent use of case CookieAuth.dll != cookieauth.dll
If this worked.... please let me know by running
echo "Thanks Mike" | mail -s Evolution-worked <email address hidden>