Cannot read from a mount via davfs

Cannot read from a mount via davfs

Monday 10 March 2008 9:17:10 am - 5 replies

Author Message

Gaetano Giunta

Monday 10 March 2008 1:31:05 pm

Can you trace the http communication between client and server and provide a dump?
Ps: also, which version of eZ are you using?

Principal Consultant International Business
Member of the Community Project Board

Guy Deleeuw

Monday 10 March 2008 2:54:00 pm

Hello :

ez version 4.0

davfs version :
[root@pcGD-c:~] $ apt-cache showpkg davfs2
Package: davfs2
Versions:
1.2.1-3 (/var/lib/apt/lists/be.archive.ubuntu.com_ubuntu_dists_gutsy_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/be.archive.ubuntu.com_ubuntu_dists_gutsy_universe_binary-amd64_Packages
MD5: 8210fced3b9d728dbbe00c64e0252851

Reverse Depends:
Dependencies:
1.2.1-3 - libc6 (2 2.5-5) libneon26 (2 0.26.3) debconf (18 0.5) debconf-2.0 (0 (null)) adduser (0 (null))
Provides:
1.2.1-3 -
Reverse Provides:
[root@pcGD-c:~] $

whireshark trace :
OPTIONS / HTTP/1.1
Host: webdav.eurofer.be
User-Agent: davfs2/1.2.1 neon/0.26.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers

HTTP/1.1 200 OK
Date: Mon, 10 Mar 2008 21:51:45 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c
X-Powered-By: PHP/5.2.0-8+etch10
WebDAV-Powered-By: eZ Publish
Content-Length: 0
MS-Author-Via: DAV
Allow: OPTIONS, PROPFIND, HEAD, GET, PUT, MKCOL, MOVE
DAV: 1,2,<http://apache.org/dav/propset/fs/1>
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/plain; charset=iso-8859-1

PROPFIND / HTTP/1.1
Host: webdav.eurofer.be
User-Agent: davfs2/1.2.1 neon/0.26.3
Connection: TE
TE: trailers
Depth: 1
Content-Length: 314
Content-Type: application/xml

<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<displayname xmlns="DAV:"/>
<getetag xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<creationdate xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
<executable xmlns="http://apache.org/dav/props/"/>
</prop></propfind>
HTTP/1.1 207 Multi-Status
Date: Mon, 10 Mar 2008 21:51:46 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c
X-Powered-By: PHP/5.2.0-8+etch10
WebDAV-Powered-By: eZ Publish
Content-Length: 1892
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/</D:href>
<D:propstat>
<D:prop>
<D:displayname>/</D:displayname>
<D:getcontentlength>0</D:getcontentlength>
<D:creationdate>2008-03-05T16:31:27Z</D:creationdate>
<D:getlastmodified>Wed, 05 Mar 2008 16:31:27</D:getlastmodified>
<D:resourcetype>
<D:collection />
</D:resourcetype>
<D:lockdiscovery/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:getetag />
<D:executable />
<D:getcontenttype />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/eng/</D:href>
<D:propstat>
<D:prop>
<D:displayname>/eng</D:displayname>
<D:getcontentlength>0</D:getcontentlength>
<D:creationdate>2008-03-10T11:38:39Z</D:creationdate>
<D:getlastmodified>Mon, 10 Mar 2008 11:38:39</D:getlastmodified>
<D:resourcetype>
<D:collection />
</D:resourcetype>
<D:lockdiscovery/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:getetag />
<D:executable />
<D:getcontenttype />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/ezwebin_site_admin/</D:href>
<D:propstat>
<D:prop>
<D:displayname>/ezwebin_site_admin</D:displayname>
<D:getcontentlength>0</D:getcontentlength>
<D:creationdate>2008-03-07T09:39:15Z</D:creationdate>
<D:getlastmodified>Fri, 07 Mar 2008 09:39:15</D:getlastmodified>
<D:resourcetype>
<D:collection />
</D:resourcetype>
<D:lockdiscovery/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:getetag />
<D:executable />
<D:getcontenttype />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
</D:multistatus>
PROPFIND /eng/ HTTP/1.1
Host: webdav.eurofer.be
User-Agent: davfs2/1.2.1 neon/0.26.3
Connection: TE
TE: trailers
Depth: 1
Content-Length: 314
Content-Type: application/xml

If you need more informations don't hesitate

Regards
Guy

Gaetano Giunta

Tuesday 11 March 2008 3:24:21 am

Well, there is no "slash-" in the dav response from eZ, but the urls that are returned are "/eng" and "/ezwebin_site_admin".
Maybe davfs does not like those and gets confused?

Principal Consultant International Business
Member of the Community Project Board

Guy Deleeuw

Tuesday 11 March 2008 4:20:41 am

Hello,

Thanks for your respons

I check on the changelog of the davfs project and see :
2007-04-15 Werner Baumann (werner.baumann@onlinehome.de)
* corrected po4a.conf for partial translations
* added Spanish davfs2.conf.5 from Luciano
* webdav.c, prop_result:
replacement for / in file names depends from position
(slash-, -slash-, -slash)

what is the way to solve that ?

Regards
Guy

Guy Deleeuw

Tuesday 11 March 2008 2:39:21 pm

Hello,

Maybe that the bad result "slash-" are not the problem that block me but the problem are that I cannot browse the tree content .

Anyone have an experience with davfs ?

Regards

Guy

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.