2013-06-03 1 views
0

내 로컬 호스트에 Apple 캘린더 서버의 사용자 디렉토리를 나열하려고합니다. 나는 액세스 금지 된 오류를 받고 있는데, 그것도 그룹에 대해 동일합니다. 내 운영 체제는 우분투 12.04 LTS입니다. 패키지는 저장소에 있습니다. 속성을 주요 수집-설정 : 여기caldav 디렉토리를 나열 할 때 액세스가 금지 된 오류

가 runshell.py 명령 모든

/calendars/users > ls 

     <-------- BEGIN HTTP CONNECTION --------> 
Server: localhost 

     <-------- BEGIN HTTP REQUEST --------> 
PROPFIND /calendars/users/ HTTP/1.1 
Host: localhost:8008 
Authorization: Digest username="test", realm="Test Realm", nonce="17913381079262023151194175611", uri="/calendars/users/", response="df3db481efdc68df9c39733a957f072a", algorithm="md5" 
Content-Length: 145 
Content-Type: text/xml; charset=utf-8 
Depth: 1 
Brief: t 

<?xml version='1.0' encoding='utf-8'?> 
<ns0:propfind xmlns:ns0="DAV:"> 
    <ns0:prop> 
    <ns0:resourcetype /> 
    </ns0:prop> 
</ns0:propfind> 

     <-------- BEGIN HTTP RESPONSE --------> 
HTTP/1.1 403 Forbidden 
Date: Mon, 03 Jun 2013 06:48:12 GMT 
DAV: 1, access-control 
Content-Type: text/html;charset=utf-8 
Content-Length: 139 
Server: Twisted/8.2.0 TwistedWeb/8.2.0 

<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1>You don't have permission to access /calendars/users/.</body></html> 
     <-------- END HTTP RESPONSE --------> 

     <-------- END HTTP CONNECTION --------> 
Ignoring error: 403 

답변

0

최초의 로그, 당신은 당신이 DAV와 일치를 사용하는 요청 URI는 것을 확인했다? http://tools.ietf.org/html/rfc3744#section-5.8

그런 다음 원칙적으로 네임 스페이스는 일반적으로 PROPFIND를 통해 쿼리되는 것이 아니라 DAV : principal-property-search REPORT 쿼리를 통해 쿼리됩니다. http://tools.ietf.org/html/rfc3744#section-9.4

이제 캘린더 서버에서 모든 사용자를 검색하려면 서버가 실제로 그렇게 할 수 있을지 확신하지 못합니다. 특히 많은 수의 사용자가있는 경우 특히 그렇습니다.

관련 문제