Hi François, did you replace user:password with your credentials? Are you sure they are OK. Everything works fine for me so I really don't know what the problem is. Sorry. The SabreDAV authentication basically is a wrapper for the ownCloud functions, so if ownCloud works with the same login data webdav should work as well. Cheers,
Jakob On Mon, 25 Jul 2011 11:44:05 +0200, BILLARD wrote: > Hi, > > for me with this request > > curl -X PROPFIND -u user:password -i > http://stockage.billard-francois-marie.eu/files/webdav.php > > i have this reponse > > HTTP/1.1 401 Unauthorized > Date: Mon, 25 Jul 2011 09:34:25 GMT > Server: Apache > X-Powered-By: PHP/5.3.3 > Set-Cookie: PHPSESSID=tm6fnq41pprcol25s0geevdnd0; path=/; HttpOnly > Expires: Thu, 19 Nov 1981 08:52:00 GMT > Cache-Control: no-store, no-cache, must-revalidate, post-check=0, > pre-check=0 > Pragma: no-cache > WWW-Authenticate: Basic realm="ownCloud" > Vary: User-Agent,Accept-Encoding > Transfer-Encoding: chunked > Content-Type: text/html; charset=UTF-8 > > 401 Unauthorized > > and i don't know where is the problem with webdav authentification. > > Thank's > > François BILLARD > > Le 23/07/2011 22:01, Bartek Przybylski a écrit : >> Your request header lacks authentication header, ie: >> >> PROPFIND /owncloud/files/webdav.php HTTP/1.1 >> Host: hostname >> Depth: 1 >> Authentication: Basic _base64_<-- you lack this >> Content-type: text/xml >> Content-Legth: N >> . >> . >> . >> >> 2011/7/23 Maximiliano Pin<[email protected]>: >>> Jakob Sack<mail@...> writes: >>> >>>> >>>> Hi, >>>> >>>> did you install ownCloud or update an existing installation? To >>>> quote my last >>>> email: >>>> >>>>> On the downside I had to change the database layout. The tables >>>>> "locks" and >>>>> "properties" changed. If you like messing around with SQL you'll >>>>> find the >>>>> table definitions in docs/owncloud.sql, the rest of you might >>>>> create a new >>>>> ownCloud installation. >>>> >>>> If you can not use webdav after fixing the database please post >>>> the output of >>>> the following command: >>>> >>>> $ curl -X PROPFIND -u user:pwd -i >>>> http://host/owncloud/files/webdav.php >>>> >>>> Adapt the command to your environment. This gives us more >>>> information. >>>> Cheers, >>>> >>>> Jakob >>>> >>>> Am Samstag, 23. Juli 2011, 19:14:17 schrieb Maximiliano Pin: >>>>> BILLARD<billard@...> writes: >>>>>> i use owncloud 2 but identification with webdav does'nt work. >>>>> >>>>> Same problem here. I installed today's git head in a debian >>>>> server, using >>>>> an apache virtual host, and I cannot connect with webdav (it >>>>> keeps asking >>>>> for the password). Thanks. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Owncloud mailing list >>>>> Owncloud@... >>>>> https://mail.kde.org/mailman/listinfo/owncloud >>>> >>> >>> It was a new installation from git. It's the first time I try >>> owncloud. >>> >>> The output of the curl command is: >>> >>> HTTP/1.1 401 Unauthorized >>> Date: Sat, 23 Jul 2011 19:49:47 GMT >>> Server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_fastcgi/2.4.6 >>> mod_jk/1.2.26 >>> mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g >>> mod_wsgi/2.5 >>> X-Powered-By: PHP/5.2.6-1+lenny13 >>> Set-Cookie: PHPSESSID=13ad15a897c6071b333d2b1c88dc1487; path=/; >>> HttpOnly >>> Expires: Thu, 19 Nov 1981 08:52:00 GMT >>> Cache-Control: no-store, no-cache, must-revalidate, post-check=0, >>> pre-check=0 >>> Pragma: no-cache >>> WWW-Authenticate: Basic realm="ownCloud" >>> Transfer-Encoding: chunked >>> Content-Type: application/xml; charset=utf-8 >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> >>> <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception> >>> <s:message>No basic authentication headers were found</s:message> >>> <s:sabredav-version>1.5.0</s:sabredav-version> >>> </d:error> >>> >>> Thanks. >>> >>> _______________________________________________ >>> Owncloud mailing list >>> [email protected] >>> https://mail.kde.org/mailman/listinfo/owncloud >>> >> _______________________________________________ >> Owncloud mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/owncloud > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
