Hi,

I am trying to get all resources available for a given user by doing a few PROPFIND requests. One includes a request for group-membership and I get back a principal URL, but when I PROPFIND that URL, I get a 403.

Does anybody know what I am doing wrong? Here is a complete log of what is send and received:

** Sun Feb 10 2019 15:41:22 GMT+0100 (CET) **
[URL Request #1] : https://***/SOGo/dav/user1

** Sun Feb 10 2019 15:41:23 GMT+0100 (CET) **
[REQUEST] : PROPFIND
<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:card="urn:ietf:params:xml:ns:carddav">
  <d:prop>
    <card:addressbook-home-set/>
    <d:group-membership/>
  </d:prop>
</d:propfind>

** Sun Feb 10 2019 15:41:23 GMT+0100 (CET) **
[RESPONSE] : 207
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:a="urn:ietf:params:xml:ns:carddav" xmlns:D="DAV:">
  <D:response>
    <D:href>/SOGo/dav/user1</D:href>
    <D:propstat>
      <D:status>HTTP/1.1 200 OK</D:status>
      <D:prop>
        <a:addressbook-home-set>
          <D:href xmlns:D="DAV:">/SOGo/dav/user1/Contacts/</D:href>
        </a:addressbook-home-set>
        <D:group-membership>
          <D:href xmlns:D="DAV:">/SOGo/dav/user2/calendar-proxy-write/</D:href>
        </D:group-membership>
      </D:prop>
    </D:propstat>
  </D:response>
</D:multistatus>

** Sun Feb 10 2019 15:41:23 GMT+0100 (CET) **
[URL Request #1] : https://***/SOGo/dav/user2/calendar-proxy-write/

** Sun Feb 10 2019 15:41:23 GMT+0100 (CET) **
[REQUEST] : PROPFIND
<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:card="urn:ietf:params:xml:ns:carddav">
  <d:prop>
    <card:addressbook-home-set/>
    <d:group-membership/>
  </d:prop>
</d:propfind>

** Sun Feb 10 2019 15:41:23 GMT+0100 (CET) **
[RESPONSE] : 403
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml";>
<body><h3>An error occurred during object publishing</h3><p>tried to access private object (0x0x55bfc2b12b90, SoClass=SOGoCalendarProxy)</p></body>
</html>

Thanks for your time,
John
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to