Public bug reported:

Binary package hint: gvfs

Using Ubuntu Hardy, we cannot delete or create files or folders on our
webdav share anymore. Connecting to a Gallery2 webdav share (nautilus
dav://hostname/g2/w/) which allows anonymous reading works. When trying
to upload a photo, we expect an authorization dialog, but nautilus only
says "Authorization required", letting me skip or cancel. This works as
expected in Feisty and in some other operating system.

When we disable anonymous access to Gallery2, we can authenticate
through Nautilus at mount time and uploading works fine.

Tcpflow of a failed session shows the obvious: first a PROPFIND on the
directory, server replies 207, then a HEAD on the file gets a 401, then
the file gets put and the server replies again with a 401.

When I try to read the gvfs source code, I see in
daemon/gvfsbackenddav.c that at mount time authentication is governed by
a function called "soup_authenticate_interactive". After a successful
mount, the authentication handler gets switched to
soup_authenticate_from_data. That sounds a little suspicious to me. I am
hardly a programmer, so I have not yet gotten it to work when I play
with the handlers, but maybe someone else can.

I would have made this a duplicate of #206439, but the code between the
various backends seems a little too separate for that.

We have gvfs version 0.2.5-0ubuntu2 installed.

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gvfs refuses to authenticate to webdav share after mounting
https://bugs.launchpad.net/bugs/260988
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to