[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2023-09-04 Thread Marco Schmidlin
https://bugs.kde.org/show_bug.cgi?id=402780

Marco Schmidlin  changed:

   What|Removed |Added

 CC||ner...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2022-06-17 Thread Jaap Geurts
https://bugs.kde.org/show_bug.cgi?id=402780

Jaap Geurts  changed:

   What|Removed |Added

 CC||jaap.geu...@fontys.nl

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2022-03-22 Thread Jure Repinc
https://bugs.kde.org/show_bug.cgi?id=402780

Jure Repinc  changed:

   What|Removed |Added

 CC||j...@holodeck1.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2021-01-19 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #23 from Vadim A. Misbakh-Soloviov (mva)  ---
(In reply to Krzysztof Nowicki from comment #19)

> OK, that request is definitely wrong and no wonder it fails.

> Folders may be added or removed from this list in the EWS resource
> configuration window.

> As a workaround could you go to the configuration window, click the
> Subscriptions tab and select at least one folder (Inbox preferably).


Unfortunatelly, I can't: there is empty list and an error message appers on
top, that says "Failes to get folders list" (it means "from server", I guess).
And there is no way to manually add custom (say, "Inbox") value to the list...

For now, I just disabled server-side subscription, but I dislike that way of
"solving" the issue...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2020-10-28 Thread Brendon Higgins
https://bugs.kde.org/show_bug.cgi?id=402780

Brendon Higgins  changed:

   What|Removed |Added

 CC||bren...@quantumfurball.net

--- Comment #22 from Brendon Higgins  ---
(In reply to Krzysztof Nowicki from comment #9)
> Correction:
> 
> https://outlook.office365.com/EWS/Exchange.asmx

Thanks, Krzysztof. Autodiscover fails for my organization, so I needed this.
But it's not user-discoverable in the slightest. Would it make sense as being a
default value when manual mode is selected?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2020-10-06 Thread John Scott
https://bugs.kde.org/show_bug.cgi?id=402780

John Scott  changed:

   What|Removed |Added

 CC||jsc...@posteo.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2020-07-20 Thread Yaroslav Sidlovsky
https://bugs.kde.org/show_bug.cgi?id=402780

Yaroslav Sidlovsky  changed:

   What|Removed |Added

 CC||zawer...@gmail.com

--- Comment #21 from Yaroslav Sidlovsky  ---
Can't find change from the patch in the kdepim-runtime-20.04.3 sources.
Is this intentional?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2020-03-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=402780

h...@live.com changed:

   What|Removed |Added

 CC||h...@live.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2020-03-20 Thread Igor Poboiko
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #20 from Igor Poboiko  ---
Git commit 7afd99abbfa141f6e6dfbe69b01827af8f16ba27 by Igor Poboiko.
Committed on 20/03/2020 at 16:10.
Pushed by poboiko into branch 'master'.

[resources/ews] Save password to wallet

Summary:
Seems like the password entered via the UI actually never gets saved anywhere.
Just do it explicitly.
Related: bug 393002, bug 390798, bug 414789

Test Plan:
1) Try to setup EWS account using autodiscovery, using Username/Password auth
2) Set Username, Password, hit "Try connect" -> it works fine
3) Hit "OK" -> observe "Authentication failure" resource error
4) Browse `akonadi-ews` via `KWalletManager` -> it's empty
5) Apply the patch, repeat 1-4 - authentication succeeds, password entry inside
wallet appears

Reviewers: dvratil, nowicki

Reviewed By: dvratil

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D27813

M  +1-0resources/ews/ewsconfigdialog.cpp

https://commits.kde.org/kdepim-runtime/7afd99abbfa141f6e6dfbe69b01827af8f16ba27

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-10-31 Thread Krzysztof Nowicki
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #19 from Krzysztof Nowicki  ---
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #15)
> Created attachment 120793 [details]
> [mva] request.xml

OK, that request is definitely wrong and no wonder it fails.

It looks like the request for retrieving the IDs of subscribed folders (folders
which are monitored for new messages). By default this list includes:

 * Inbox
 * Calendar
 * Tasks
 * Contacts

Folders may be added or removed from this list in the EWS resource
configuration window.

For some odd reason it looks like in your case the list is empty. By itself
this should be a valid configuration, as the user is free to stop automatically
monitoring for new mails and check for them manually. Unfortunately the current
EWS resource implementation is not ready for it and doesn't expect this to
occur and stupidly tries to request IDs of an empty folder list, to which the
server rightfully replies with an error.

As a workaround could you go to the configuration window, click the
Subscriptions tab and select at least one folder (Inbox preferably).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-10-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=402780

mcadoo.c...@gmail.com changed:

   What|Removed |Added

 CC||mcadoo.c...@gmail.com

--- Comment #18 from mcadoo.c...@gmail.com ---
Is this issue solved? what is the mitigation for the moment? I am new KDE user
and I got the same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-11 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #17 from Vadim A. Misbakh-Soloviov (mva)  ---
Well... I've used a qdbus hack from Comment1 on newly-created EWS account, and
it looks like working fine even here, on 19.04.1.

Although, I still not sure, why the old one gets errors about XML verification
:-/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-11 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #16 from Vadim A. Misbakh-Soloviov (mva)  ---
Created attachment 120794
  --> https://bugs.kde.org/attachment.cgi?id=120794=edit
[mva] response.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-11 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #15 from Vadim A. Misbakh-Soloviov (mva)  ---
Created attachment 120793
  --> https://bugs.kde.org/attachment.cgi?id=120793=edit
[mva] request.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-11 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #14 from Vadim A. Misbakh-Soloviov (mva)  ---
btw, additional info:
1) there is a password-only auth server (no 365, no autodiscovery, only OWA).
2) I've dumped the request and the answer, and I'll attach them next to this
comment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-11 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #13 from Vadim A. Misbakh-Soloviov (mva)  ---
Btw, I've another laptop with kdepim-runtime-18.12.0 and EWS (I mean, my
Account, that I set up long time ago, when EWS resource was out of the kdepim)
works fine there (doesn't throw FolderIds-related error I mentioned above).

Although, newly-created account gets 401 there too.
And also it doesn't savethe password to kwallet...  (and neither even trying to
load it from there, if I create it manually)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-10 Thread Krzysztof Nowicki
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #12 from Krzysztof Nowicki  ---
(In reply to Kurse from comment #10)
> I can confirm this still does not work, even when manually putting the
> autodiscover URL in. When attempting autodiscover, its always a 401 error.
> 
> Also, OAuth2 is greyed out, and there does not seem to be a way to activate
> it.

In the older versions of Akonadi (<= 18.12) OAuth2 will be greyed out if the
package was built without support for Qt NetworkAuth. Starting with 19.04 Qt
NetworkAuth is a hard requirement and OAuth2 will always be enabled.

The 401 error may be there due to lack of OAuth2 support. It all depends on the
authentication configuration of the Exchange server. In the organization I work
for Office 365 is configured so that basic authentication is not supported and
it is necessary to use OAuth2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-07 Thread Vadim A. Misbakh-Soloviov
https://bugs.kde.org/show_bug.cgi?id=402780

Vadim A. Misbakh-Soloviov (mva)  changed:

   What|Removed |Added

 CC||k...@mva.name

--- Comment #11 from Vadim A. Misbakh-Soloviov (mva)  ---
Moreover:
1) When using set-up-earlier account, akonadi-ews throws this in console:
```
Failed to validate the query against the schema: The content of the "FolderIds"
element in the namespace
"http://schemas.microsoft.com/exchange/services/2006/messages; is incomplete.
The list of expected items: "FolderId, DistinguishedFolderId" in the namespace
"http://schemas.microsoft.com/exchange/services/2006/types;.
```
(translated using google-translate, if any, since corporate server tells that
not in english)


2) When creating new EWS-account:
a) it looks like it doesn't store the password neither it kwallet nor somewhere
in configs
b) it always fails with getting 401 from the server. Even on initial check on
"Try connect"...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-06-07 Thread Kurse
https://bugs.kde.org/show_bug.cgi?id=402780

Kurse  changed:

   What|Removed |Added

 CC||ku...@darkworlds.org

--- Comment #10 from Kurse  ---
I can confirm this still does not work, even when manually putting the
autodiscover URL in. When attempting autodiscover, its always a 401 error.

Also, OAuth2 is greyed out, and there does not seem to be a way to activate it.

Fedora 30
Plasma 5.15.5
QT 5.12.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-04-24 Thread Krzysztof Nowicki
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #9 from Krzysztof Nowicki  ---
Correction:

https://outlook.office365.com/EWS/Exchange.asmx

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-04-24 Thread Krzysztof Nowicki
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #8 from Krzysztof Nowicki  ---
Hi Tom,

Looking at your original report it is unclear to me at which step the set-up
fails. I can see some autodiscover attempts, which have failed. I have seen
this sometimes and it appears that it is related to the network set-up at the
given location.

Have you tried to enter the EWS URL manually?
Do you know if your company is using on-premise Exchange or Office365?

If Office365 is used, you can try to manually enter the following as the EWS
URL:

http://outlook.office365.com/EWS/Exchange.asmx

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-04-24 Thread Tom Kijas
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #7 from Tom Kijas  ---
So this is power of free software, both Google apps and Exchange doesn't work
properly and noone cares. :) I will really continue to support that. Lol

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-02-11 Thread Tom Kijas
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #6 from Tom Kijas  ---
OK, thats relevant. The point is, I switched to 365 from GoogleApps, where my
original bug report is 3 years old (sending sometimes silenty dies, leaving
emails not sended). But yeah u are right it's not something I should express
here. 
I must admit I have no abilities in coding, I am lawyer, but I can financially
support creator(s), if is it possible somehow?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-02-08 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=402780

Martin Steigerwald  changed:

   What|Removed |Added

 CC||mar...@lichtvoll.de

--- Comment #5 from Martin Steigerwald  ---
Dear Tom, while I certainly get your frustration and also share it to quite
some extent, I actually know that KDEPIM developers care *a lot* about KDEPIM.
But there are only a few of them regularly working on KDEPIM. About the
developer of EWS resource I know that he started developing it as his employer
migrated to Office 365. That means: The developer has a day job. The money is
coming from that day job. Your bug report is about one month old. That is not
all that old for a component of Akonadi that someone develops in his spare
time.

It is a free software project, so in case you like to change the situation you
are free to help. So please keep it constructive here and vent your frustration
on a different place (like the kdepim-users mailing list if you must, but even
there, I suggest you avoid blaming others). This is a bug tracker, no
discussion forum. The longer a bug report gets, the less likely it is for
someone to be able to dig out the relevant information quickly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-02-08 Thread Tom Kijas
https://bugs.kde.org/show_bug.cgi?id=402780

--- Comment #4 from Tom Kijas  ---
The speed of repair of KMail is insane. I switched to google mail.
And you know what? KMail after period of time REFUSES to send emails using
google SMTP. That's just crazy.

KMail in this health is piece of unusable software, mainly in business and
noone in KDE really cares.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-02-01 Thread Bart
https://bugs.kde.org/show_bug.cgi?id=402780

Bart  changed:

   What|Removed |Added

 CC||b...@schelstraete.org

--- Comment #3 from Bart  ---
Same problem over here, 
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.0

it's still working on older version:

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-01-16 Thread Tom Kijas
https://bugs.kde.org/show_bug.cgi?id=402780

Tom Kijas  changed:

   What|Removed |Added

 CC||t.ki...@gmail.com
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #2 from Tom Kijas  ---
Exactly, it still works on already set-up computers. Maybe someone who cares
about KMail can start to deal with bug reports? Just an idea...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 402780] Akonadi doesn't work with Exchange again

2019-01-11 Thread dvogel
https://bugs.kde.org/show_bug.cgi?id=402780

dvogel  changed:

   What|Removed |Added

 CC||dorianvo...@gmail.com

--- Comment #1 from dvogel  ---
Hey, I was having the same issue on my laptop since a few days (Antergos):
KDE Plasma Version: 5.14.5
Qt Version: 5.12.0
KDE Frameworks Version: 5.53.0

However is was still working on my home computer (vanilla arch, same versions).
So really confusing.
However I just solved it thanks to
https://github.com/KrissN/akonadi-ews/issues/48

I set the password with:
`qdbus org.freedesktop.Akonadi.Resource.akonadi_ews_resource_6 /Settings
org.kde.Akonadi.Ews.Wallet.setPassword "my_app_password"`

(you can check that the command changed the password successfully by opening
the settings of the account in kmail wit the number of dots in the masked
password).
And it started working again. My password has '$', the rest are just upper and
lower case alphanumeric chars so the dollar was probably the issue.

Hope that helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.