-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Akonadi-ews does not save password in kwallet #48
Comments
I ran into the same and managed to work around by manually calling the dbus method |
Hi zsol, can you provide an example for your call? I never used dbus before. Thanks. |
Hi, I faced the same issue today, Kmail-EWS was not saving password to Kwallet. I found this bug and after checing around here's the dbus command I used to enter a password (app password) for my Office365 subscription: qdbus org.freedesktop.Akonadi.Resource.akonadi_ews_resource_6 /Settings org.kde.Akonadi.Ews.Wallet.setPassword "my_app_password" It still didn't work but when I opened the account gui, re-entered password once more, I could see the folder list. the list started to come after a while. Btw, you can also install kwalletmanager and add the passwword manually under the ews password folder, after creating a pass entry with name "akonadi_ews_resource_6rc" equivalent of your resource name. I didn't see any encryption on the password at least for my kwallet settings. I used classic kwallet when setting it up, with no password. |
This also worked for me. On its own, KMail would repeatedly forget the password and hit 401s. With this, it can log in without issue. |
Probably fixed here: https://bugs.kde.org/show_bug.cgi?id=393002 Is this still the right place to talk about bugs, anyway? |
I had the same issue. I wonder if it is because of special chars in the password. |
I also experienced the issue, and could solve it thanks to this thread. I referenced it there. |
Also ran into this issue. Don't if this helps, but I configured KDE in a way it should always prompt for confirmation if something tries to access kWallet. |
So will there be a patch at all or is akonadi-ews dead? |
This extension has been merged into main KDE repo. This bug has been fixed in there some time ago. |
Seems it isn't fixed. There is screencast: Temporary available here on filebin.net Operating System: openSUSE Tumbleweed 20200125 KMail Version: 5.13.1 (19.12.1) |
Still not fixed here... |
Have the same issue: org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f05fc1b48e0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f05fc1b48e0) identified as "SpecialCollectionsMonitor - 93945876400032"
org.kde.pim.ews.client: Failed to process EWS request - HTTP code 401
org.kde.pim.ews: requestAuthFailed - going offline :~> akonadictl status
Akonadi Control: running
Akonadi Server: running
Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource |
Found some info about: This patch can solve the problem: From git log: https://cgit.kde.org/kdepim-runtime.git/log/ - the issue can be solved from version |
Same issue here with: But as i far as i understand there is a fix and it is in v20? So i just have to wait? :) |
I was using Kububtu 20.04 and found this problem. Just to be sure that it was not something that has already been fixed as part of a proper upstream release I tested this on the latest Manjaro Testing ISO, which gives me access to the latest akonadi 20.04 version, but the problem still persists. So has the fix been integrated into a release or not?
If it wasn't for this SUPER HELPFUL tip EWS would be essentially broken on KDE PIM. |
It looks like this problem is still present in 5.16.0 (20.12.0) |
And still present in Akonadi 23.08.2 (Framework 5.111.0, Plasma 5.27.8) I just found several EWS resources in kwalletmanager, with only two having the correct password, three were wrong and one was even empty. After setting all passwords to the correct one, I can now reliably send E-Mails again. Looks like the Mail-Send-Agent picked a resource randomly, so sending would fail in 67% of all cases. |
I try to create EWS account, and save password but it does not arrives at kwallet. Meanwhile if I delete in kwallet a root instance "akonadi-ews" it will appear again, but with no password. If I try to change created account by typing password there are no changes. I tried to remove all akonadi and kmail settings, even tried new system account - no changes. My system is openSUSE Thumbleweed, kmail (kde frameworks) 17.12. I tried to have more logs with this in console:
export QT_LOGGING_RULES="org.kde.pim.* = true"
akonadictl restart
This showed me such logs when I have changed ews account:
The text was updated successfully, but these errors were encountered: