nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.19k stars 4.04k forks source link

Windows 10 WebDav Netdrive #3523

Closed chises closed 6 years ago

chises commented 7 years ago

Steps to reproduce

  1. Upgraded von NC 9 to Nextcloud 11.0.1 (stable)
  2. tried to map Netdrive "https://domain/remote.php/webdav/" with Windows explorer
  3. Connection not working (error)

Expected behaviour

In Version 9 it worked

Actual behaviour

Windows Explorer asks 3 times for Username + Password and stops with a issue. No Problem in NC logs.

Logentry in Apache Access 10.10.10.1 - USERNAME [17/Feb/2017:09:05:08 +0100] "OPTIONS /remote.php/webdav HTTP/1.1" 503 1188 "-" "Microsoft-WebDAV-MiniRedir/10.0.14393"

Setps to solve the issue:

Added the Microsoft-WebDAV Client to the incompatible User Agents in lib/base.php with the following:

$incompatibleUserAgents = [ // OS X Finder '/^WebDAVFS/', //Windows Explorer '/^Microsoft-WebDAV-MiniRedir/', ];

Question: will issue Show up after the next update again? can you add the "Windows Explorer" Webdav Client permanently to the incompatible User agents?

Best Regards Michael Weber

gabkol commented 7 years ago

will issue Show up after the next update again? can you add the "Windows Explorer" Webdav Client permanently to the incompatible User agents?

I think the client isn't incompatible. It's a server problem with the http header. You can try the fix of the issue #2887 . Your problem seems to be the same mentioned there

chises commented 7 years ago

that seems to fix it: https://github.com/nextcloud/server/pull/2986/commits/e26533d54cb7584433d86ca0df6451baa06692f9

chises commented 7 years ago

i am sorry but https://github.com/nextcloud/server/pull/2986/commits/e26533d54cb7584433d86ca0df6451baa06692f9 does not fix the issue.

after adding '/^Microsoft-WebDAV-MiniRedir/', to $incompatibleUserAgents it is working again!

carlu93 commented 7 years ago

@chises been having the exact same Problem under Windows 10 (Creator's Update)! After changing base.php it's working! Thanks alot :)

darkernoise commented 7 years ago

Just want to update that with 12.0.2 I could not connect with Win7 client. Though, again, adding the '/^Microsoft-WebDAV-MiniRedir/', to $incompatibleUserAgents fixed the issue. Please consider fixing this as a priority.