Moin,
wie ich schon in diesem Thread geschrieben habe:
Funktioniert der Sync mit dem emClient absolut hervorragend für Kalender, Adressbücher und Infolog.
Es gibt nur ein Detail wo es ein winziges, aber nerviges Problem gibt:
Sobald ich eine einzige DAV-Ressource (Kaldender, Adressbuch, Infolog) verbunden habe und dann eine
Email öffne und den Namen des Empfängers eintippe, scheint der emClient eine Authorisierung per CalDAV zu machen und in diesem Fall scheitert er und bekommt die Rückmeldung “Unauthorized”
Und öffnet dieses Fenster zur Passworteingabe … das kann ich dann durch abbrechen wegklicken, aber es ist total nervig, dass das immer hochkommt.
Ich habe daher mal auf dem eGW Server ins Log geschaut, kann aber nicht genau beurteilen was das schief läuft:
*** 192.168.3.90 2018-02-02T11:38:39+01:00
REPORT /egroupware/groupdav.php/principals/users/kontakttest/ HTTP/1.1
User-Agent: eM Client/7.1.31849.0
Accept-Encoding: gzip, deflate
Content-Type: text/xml; charset=utf-8
Accept: text/xml
Brief: t
Depth: 0
Host: meinedomain.de
Content-Length: 912
<?xml version="1.0" encoding="utf-8"?><D:principal-property-search test="anyof" xmlns:D="DAV:"><D:property-search><D:prop><D:displayname /></D:prop> <D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><first-name xmlns="http://calendarserver.org/ns/" />< /D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><last-name xmlns="http://calendarserver.org/n s/" /></D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><email-address-set xmlns="http://calen darserver.org/ns/" /></D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:prop><D:displayname /><calendar-user-type xmlns ="urn:ietf:params:xml:ns:caldav" /><email-address-set xmlns="http://calendarserver.org/ns/" /></D:prop><D:apply-to-principal-collection-set /></D:pr incipal-property-search>
HTTP/1.1 401 Unauthorized
Date: Fri, 02 Feb 2018 10:38:39 GMT
Server: Apache/2.4.18 (Ubuntu)
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
X-Dav-Powered-By: EGroupware 17.1 CalDAV/CardDAV/GroupDAV server
WWW-Authenticate: Basic realm="An error happened: Argument 2 passed to EGroupware\Api\CalDAV\Principals::principal_set() must be of the type array, null given, called in /usr/share/egroupware/api/src/CalDAV/Principals.php on line 980"
X-WebDAV-Status: 401 Unauthorized
### REPORT principal-property-search /principals/users/kontakttest/ --> "401 Unauthorized" took 0.088 s
*** 192.168.3.90 2018-02-02T11:38:39+01:00
REPORT /egroupware/groupdav.php/principals/users/kontakttest/ HTTP/1.1
User-Agent: eM Client/7.1.31849.0
Accept-Encoding: gzip, deflate
Content-Type: text/xml; charset=utf-8
Accept: text/xml
Brief: t
Depth: 0
Host: meinedomain.de
Content-Length: 912
<?xml version="1.0" encoding="utf-8"?><D:principal-property-search test="anyof" xmlns:D="DAV:"><D:property-search><D:prop><D:displayname /></D:prop> <D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><first-name xmlns="http://calendarserver.org/ns/" />< /D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><last-name xmlns="http://calendarserver.org/n s/" /></D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:property-search><D:prop><email-address-set xmlns="http://calen darserver.org/ns/" /></D:prop><D:match match-type="starts-with">aher</D:match></D:property-search><D:prop><D:displayname /><calendar-user-type xmlns ="urn:ietf:params:xml:ns:caldav" /><email-address-set xmlns="http://calendarserver.org/ns/" /></D:prop><D:apply-to-principal-collection-set /></D:pr incipal-property-search>
HTTP/1.1 401 Unauthorized
Date: Fri, 02 Feb 2018 10:38:39 GMT
Server: Apache/2.4.18 (Ubuntu)
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
X-Dav-Powered-By: EGroupware 17.1 CalDAV/CardDAV/GroupDAV server
WWW-Authenticate: Basic realm="An error happened: Argument 2 passed to EGroupware\Api\CalDAV\Principals::principal_set() must be of the type array, null given, called in /usr/share/egroupware/api/src/CalDAV/Principals.php on line 980"
X-WebDAV-Status: 401 Unauthorized
### REPORT principal-property-search /principals/users/kontakttest/ --> "401 Unauthorized" took 0.081 s