Re: [Evolution] Trouble authenticating to Exchange account

2014-10-09 Thread Milan Crha
On Thu, 2014-10-09 at 19:13 -0400, Adam Seering wrote:
> Hi all,
> I have access to two Exchange (EWS) accounts.  One of them works
> great.  The other one won't accept my password, so I can't log in.  
> It
> worked great earlier this year, but something in the server's
> configuration seems to have changed.  (I don't know what.)
> 
> If I run with EWS_DEBUG=2, I get the following request/response
> pair every time I enter my password:

Hi,
this handshake pair is usual. libsoup tries to connect to the server, 
it responds that authorization is needed, then libsoup asks an 
application for a password and re-sends the message to the server with 
given credentials.

> < WWW-Authenticate: Negotiate
> < WWW-Authenticate: NTLM
> ...
> Looks like it's never trying to re-connect using NTLM?  Anyone have
> any guesses as to what's going on, or suggestions for things to try 
> to do to improve it?

So your server supports either GSSAPI/Kerberos authentication or NTLM. 
I would verify that you have set the NTLM in account preferences and 
that the address of the host (Host URL) begins with https://. There 
are servers which require Basic authentication, but that is not 
advertised by your server. I'm not aware of any server which would 
allow http:// (insecure) connection.

Maybe you can try to connect to the server with curl, and if it'll 
work, then there can be some glitch either in evolution-ews or in 
libsoup. The curl command looks like this:

   curl -v -k --user USERNAME:PASSWORD -X POST -d @e.xml --ntlm \
  https://exchange.example.com/EWS/Exchange.asmx \
  --header 'Content-Type: text/xml; charset=utf-8'

Run it in a folder which contains the attached e.xml file. The request 
as such will fail, because you won't have the requested item in your 
account, but that's fine, because we are only trying to authenticate 
and connect to the server.
Bye,
Milan

e.xml
Description: XML document
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Trouble authenticating to Exchange account

2014-10-09 Thread Adam Seering
Hi all,
I have access to two Exchange (EWS) accounts.  One of them works
great.  The other one won't accept my password, so I can't log in.  It
worked great earlier this year, but something in the server's
configuration seems to have changed.  (I don't know what.)

If I run with EWS_DEBUG=2, I get the following request/response
pair every time I enter my password:

> POST /EWS/Exchange.asmx HTTP/1.1
> Soup-Debug-Timestamp: 1412895210
> Soup-Debug: SoupSessionAsync 1 (0x7f2091552220), ESoapMessage 1 
> (0x7f1fb8051910), SoupSocket 1 (0x7f1fada4d0b0)
> Host: [remote host]
> User-Agent: Evolution/3.13.5
> Connection: Keep-Alive
> Content-Type: text/xml; charset=utf-8

and

< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1412895210
< Soup-Debug: ESoapMessage 1 (0x7f1fb8051910)
< Server: Microsoft-IIS/8.0
< request-id: 43bb7cf3-b66c-4b55-a41e-15f0221c01b6
< WWW-Authenticate: Negotiate
< WWW-Authenticate: NTLM
< X-Powered-By: ASP.NET
< X-FEServer: [server]
< Date: Thu, 09 Oct 2014 22:53:30 GMT
< Content-Length: 0

Looks like it's never trying to re-connect using NTLM?  Anyone have
any guesses as to what's going on, or suggestions for things to try to
do to improve it?

Thanks,
Adam
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Eugene Kanter

On 10/09/2014 11:56 AM, Patrick O'Callaghan wrote:

On Thu, 2014-10-09 at 11:52 -0400, Eugene Kanter wrote:

This is "official" Fedora copr, the same code base is supposedly
targeted for Fedora 21.

Please give the URL of the repo you are using.

poc



# cat /etc/yum.repos.d/rhughes-f20-gnome-3-12-fedora-20-i386.repo
[rhughes-f20-gnome-3-12-i386]
name=Copr repo for f20-gnome-3-12 owned by rhughes (i386)
baseurl=http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-$releasever-i386/
skip_if_unavailable=True
gpgcheck=0
cost=900
enabled=1

[rhughes-f20-gnome-3-12-x86_64]
name=Copr repo for f20-gnome-3-12 owned by rhughes (x86_64)
baseurl=http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-$releasever-x86_64/
skip_if_unavailable=True
gpgcheck=0
cost=800
enabled=1

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evolution caching email -> name mappings for display purposes?

2014-10-09 Thread Robert Munteanu
On Thu, Sep 18, 2014 at 7:16 PM, Milan Crha  wrote:
> On Thu, 2014-09-18 at 15:57 +0300, Robert Munteanu wrote:
>> BTW, it seems that these debug messages are sometimes half-printed,
>> and the final part only printed when there is something new to print.
>> Maybe a missing flush somewhere?
> Hi,
> yes, it can be true. No big deal when you read the log only after you
>
> close the application.
>> > The difference between message download and summary fields download
>> > can be that the server has stored something else in its own summary
>> > for some reason. I'm not sure whether it'll be visible in the above
>> > log, though.
>>
>> Unfortunately it was not. Can I force that retrieval somehow?
>>
>
> You can remove whole local cache from the
>~/.cache/evolution/mail//
> (basically this whole folder), which will cause the local cache
>
> re-download. As there is everything stored on the server you might not
>
> lost anything. Do rename the folder to be safe. Run evolution with the
> EWS debugging on redirected to a file and then search it for any
> relevant data, when the offending folder content will be shown in a
> message list. As the log shows raw data being transferred between the
> server and the client, you might not share it publicly.

As a quick note, this seems to occur in the same circumstances with
other Exchange clients than Evolution, so I've stopped investigating
it on the Evolution side.

Robert


> Bye,
> Milan
>
>
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list



-- 
http://robert.muntea.nu/
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Milan Crha
On Thu, 2014-10-09 at 09:43 -0400, Eugene Kanter wrote:
> On 10/09/2014 02:49 AM, Milan Crha wrote:
> > What is the server you are connecting too?
> I am connecting to a corporate modified zimbra server. 3.10.x from 
> main
> Fedora 20 does not exhibit any problems.
> 

Hi,
weird. I also connect to various IMAP servers, and one Zimbra (I've no 
idea how much modified it is), but with no such issue. My Zimbra 
instance supports custom user flags on messages.
Bye,
Milan


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Patrick O'Callaghan
On Thu, 2014-10-09 at 11:52 -0400, Eugene Kanter wrote:
> This is "official" Fedora copr, the same code base is supposedly 
> targeted for Fedora 21.

Please give the URL of the repo you are using.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Eugene Kanter

On 10/09/2014 11:17 AM, Pete Biggs wrote:

On Thu, 2014-10-09 at 09:43 -0400, Eugene Kanter wrote:

On 10/09/2014 02:49 AM, Milan Crha wrote:

What is the server you are connecting too?

I am connecting to a corporate modified zimbra server. 3.10.x from main
Fedora 20 does not exhibit any problems.

So there's not actually anything wrong with the network or servers or
with the official (tested) Evolution.  It's a problem with a version of
Evo from copr?  Is this a copr repo that you've created yourself or are
you using someone else's?  If so which one?

And, as it says on each copr project page: "The following unofficial
repositories are provided as-is by owner of this project. Contact the
owner directly for bugs or issues (IE: not bugzilla)."  Yes, I know
3.12.5 is an Evo release, but if you are using someone else's build on
copr you have no idea what they've done to it - they may have modified
the source to test something.

This is "official" Fedora copr, the same code base is supposedly 
targeted for Fedora 21.
I was told to use it on this list when complained about missing 3.10 
features.

Also I can't find above error message in any debug log file. Still trying.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Pete Biggs
On Thu, 2014-10-09 at 09:43 -0400, Eugene Kanter wrote:
> On 10/09/2014 02:49 AM, Milan Crha wrote:
> > What is the server you are connecting too?
> I am connecting to a corporate modified zimbra server. 3.10.x from main 
> Fedora 20 does not exhibit any problems.

So there's not actually anything wrong with the network or servers or
with the official (tested) Evolution.  It's a problem with a version of
Evo from copr?  Is this a copr repo that you've created yourself or are
you using someone else's?  If so which one?

And, as it says on each copr project page: "The following unofficial
repositories are provided as-is by owner of this project. Contact the
owner directly for bugs or issues (IE: not bugzilla)."  Yes, I know
3.12.5 is an Evo release, but if you are using someone else's build on
copr you have no idea what they've done to it - they may have modified
the source to test something.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 3.12.5: Failed to refresh folder "INBOX",

2014-10-09 Thread Eugene Kanter

On 10/09/2014 02:49 AM, Milan Crha wrote:

What is the server you are connecting too?
I am connecting to a corporate modified zimbra server. 3.10.x from main 
Fedora 20 does not exhibit any problems.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] indefinite network connection timeouts, again

2014-10-09 Thread Eugene Kanter

On 10/09/2014 02:51 AM, Paul Menzel wrote:

Am Mittwoch, den 08.10.2014, 23:25 -0400 schrieb Eugene Kanter:

Every time I start my 3.12.5 (Fedora 20 copr repository) "Refreshing
folder.." status messages with animated foot stay indefinitely.

What accounts do you have? What provider do you use? What account type
is that?

all IMAP+, different providers, including google, yahoo, yandex, and 
local ISP zimbra accounts.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list