[Evolution-hackers] OWA with "SessionGuard"



Sorry if this question has already been addressed ... I can't seem to search the list archives.

My company has (I think) Exchange 2000 OWA enabled, running with (I think) "SessionGuard" (http://www.messagingsolutions.com/SessionGuard.htm).  I
can use a browser to login and do OWA, but the exchange-connector
doesn't work.  I'm using the following packages, built from source:

evolution-2.8.1
evolution-data-server-1.8.1
evolution-exchange-2.8.1


When running "E2K_DEBUG=4 exchange-connector-setup", I get:

GET /exchange HTTP/1.1
E2k-Debug: 0x93f1c70 @ 1160875991
Host: 10.128.108.84
Accept-Language: en-US, en
Authorization: NTLM TlRMTVNTUAABAAAABoIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA
User-Agent: Evolution/1.8.1

302 Object Moved
E2k-Debug: 0x93f1c70 @ 1160875991
Set-Cookie: MWC0=FCFCFF69689FDCE9A2; path=/;
Set-Cookie: MWT0=B733A6D730EE22A1AE; path=/;
Date: Sun, 15 Oct 2006 01:33:15 GMT
Location: http://10.128.108.84/exchange?cmd=checksessioncookie
Server: Microsoft-IIS/5.0

GET /exchange?cmd=checksessioncookie/ HTTP/1.1
E2k-Debug: 0x93f1cd0 @ 1160875991
Host: 10.128.108.84
Accept-Language: en-US, en
Authorization: NTLM TlRMTVNTUAABAAAABoIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA
User-Agent: Evolution/1.8.1

302 Object Moved
E2k-Debug: 0x93f1cd0 @ 1160875991
Set-Cookie: MWC0=5D5D5E4E7E4B6F4989; path=/;
Set-Cookie: MWT0=BC2CADDC3BE529AA98; path=/;
Date: Sun, 15 Oct 2006 01:33:15 GMT
Location: http://10.128.108.84/exchweb/controls/dlgnosession.htm
Server: Microsoft-IIS/5.0



... and the connection fails.


When using Firefox to connect to OWA, it works, and I see the following packets (captured with ethereal):

Hypertext Transfer Protocol
    GET /exchange/ HTTP/1.1\r\n
    Host: 10.128.108.84\r\n
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
\r\n
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/
png,*/*;q=0.5\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Connection: keep-alive\r\n
    Cookie: sessionid=ac39370e-b515-43d8-a877-7eea1b19bd1f,0x409; MWC0=CDC9C9AA8F8AA5D826; MWT0=88
0199E8FECBBD9DF9\r\n
    \r\n


Then I type my credentials (mydomain\myusername and mypassword) into the basic auth popup.

Hypertext Transfer Protocol
    GET /exchange/ HTTP/1.1\r\n
    Host: 10.128.108.84\r\n
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
\r\n
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/
png,*/*;q=0.5\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Connection: keep-alive\r\n
    Cookie: sessionid=ac39370e-b515-43d8-a877-7eea1b19bd1f,0x409; MWC0=D3DFD0B1FA5193C6A1; MWT0=88
0199E8FECBBD9DF9\r\n
    Authorization: Basic aW5nZW5peFxydGF0ZTE6eWVhcjIwMDY=\r\n
        Credentials: mydomain\myusername:mypassword
    \r\n



This works, so my next request gets the inbox page for my user account (MyFirstName.MyLastName) from OWA.


Hypertext Transfer Protocol
    GET /exchange/MyFirstName.MyLastName/Inbox/?Cmd=contents HTTP/1.1\r\n
    Host: 10.128.108.84\r\n
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
\r\n
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/
png,*/*;q=0.5\r\n
    Accept-Language: en-us,en;q=0.5\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
    Keep-Alive: 300\r\n
    Connection: keep-alive\r\n
    Referer: http://10.128.108.84/exchange/\r\n
    Cookie: sessionid=bab7f8c0-318e-43a2-9869-2e1a654d8eff,0x409; MWC0=DEDFDDDCAF87F9CBA2; MWT0=2A
1E3B4A5C6D2D3F55\r\n
    Authorization: Basic aW5nZW5peFxydGF0ZTE6eWVhcjIwMDY=\r\n
        Credentials: mydomain\myusername:mypassword

    \r\n


I've
tried poking around in e2k-context.c and a few other files trying to
hack in some cookies to see if I can get anything to work ... no luck.

I have also tried to create a file at /etc/ximian/connector.conf with some connection options, but it doesn't seem to help.

Any tips?









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