When trying to open files from a SharePoint share mounted to Windows File manager as an UNC path (http://our-SP/Shared documents/foo.docx) LO started to pop up an authentication prompt. Pressing OK without entering credentials opens the file correctly, and selecting “Use system credentials” opens it correctly too. Earlier versions just opened the file without this window.
Steps to Reproduce:
Try to open files from a SharePoint share mounted to Windows File manager as an UNC path.
Authentication request is shown, but does not do much.
No auth request
User Profile Reset: No
Bibisected using bibisect-win64-6.4 to:
author Mike Kaganski <email@example.com> 2019-01-09 10:54:10 +0300
committer Mike Kaganski <firstname.lastname@example.org> 2019-06-28 08:33:46 +0200
summary: tdf#126121: WebDAV redirection detection
Created attachment 153909 [details]
Screenshot of the problem in Writer
Adding CC to: Mike Kaganski
Yes, that's expected ... because after that commit, LibreOffice detects the redirection, and uses WebDAV (and not Windows redirector that hides details from the software, and uses connection already established at system level). I don't know how to use the system logon here (and actually doubt it's possible at all) ... so I don't think I could solve this problem (without reverting that).
Do you have a suggestion?
I just noticed that setting the key org.openoffice.Office.Common/Passwords/TrySystemCredentialsFirst to true makes this annoying popup go away and file opening to "just work" like it used to.
Maybe the same magic behind that could be used?
Maybe setting this key to true by default can be a viable option too (although it could have security implications... I'm not sure about that).
Mike, you've asked fo a solution. Is comment 4 helpful?
@Mike Kaganski, please check a reply to your comment on comment 4
(In reply to Xisco Faulí from comment #6)
> @Mike Kaganski, please check a reply to your comment on comment 4
Sorry, missed your previous call.
(In reply to NISZ LibreOffice Team from comment #4)
> I just noticed that setting the key
> org.openoffice.Office.Common/Passwords/TrySystemCredentialsFirst to true
> makes this annoying popup go away and file opening to "just work" like it
> used to.
> Maybe the same magic behind that could be used?
> Maybe setting this key to true by default can be a viable option too
> (although it could have security implications... I'm not sure about that).
That looks promising. I can't check that ATM; I suppose your team could explore that? I would be glad to review the patch - please CC me. Thanks!
let's move it to NEW meanwhile
Hi, I tested with every version higher than 22.214.171.124 and the problem's still present.
Even 126.96.36.199 the last I tested.
How can it be it has changed behavior from 6.3 to 6.4 ?
Dear NISZ LibreOffice Team,
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!