Bug 107649 - Provide an advanced configuration option to always try system credentials first for all network resources
Summary: Provide an advanced configuration option to always try system credentials fir...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Mike Kaganski
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-05 15:11 UTC by Mike Kaganski
Modified: 2017-05-05 18:35 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2017-05-05 15:11:31 UTC
Opening a remote resource (e.g., using WebDAV) requires providing authentication parameters (user name and password). For resources supporting single sign-on protocols supported by LO, user may also use "system credentials" using respective checkbox in auth dialog. If user also checks "Remember password", then the URI is stored in the org.openoffice.Office.Common::Passwords::AuthenticateUsingSystemCredentials string list, and after that, connections to that URI are always made using system credentials first.

The proposal is to have additional advanced configuration option that would automatically try system credentials before showing the auth dialog to the user, for all URIs, even absent from AuthenticateUsingSystemCredentials, to avoid extraneous UI e.g. in corporate environments.
Comment 1 Mike Kaganski 2017-05-05 17:09:25 UTC
A patch is under review: https://gerrit.libreoffice.org/#/c/37297/
Comment 2 Commit Notification 2017-05-05 18:30:57 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=ffd8e6b44e7dacb28047661fd6b73061790761cf

tdf#107649: add TrySystemCredentialsFirst config option

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.