[Owncloud] Re: pb with webdav authetification
Bartek Przybylski
bart.p.pl at gmail.com
Sat Jul 23 20:01:46 UTC 2011
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 <mxcpin at gmail.com>:
> Jakob Sack <mail at ...> 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 at ...> 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 at ...
>> > 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
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
More information about the Owncloud
mailing list