[Tickets #14968] Re: Autodiscover mit Outlook 16 schlägt fehl
[email protected] Thu, 05 Dec 2019 17:02:10 +0000
| Newsgroups | gmane.comp.horde.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============6092654648949594956== Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Transfer-Encoding: quoted-printable DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED. Ticket URL: https://bugs.horde.org/ticket/14968 ---------------------------------------------------------------------------= --- Ticket | 14968 Updated By | Michael Rubinsky <[email protected]> -Summary | Autodiscover mit Outlook 16 schl=E4gt fehl +Summary | Autodiscover mit Outlook 16 schl=E4gt fehl Queue | Synchronization Version | FRAMEWORK_5_2 Type | Bug -State | Unconfirmed +State | Not A Bug Priority | 1. Low Milestone | Patch | -Owners | +Owners | Michael Rubinsky ---------------------------------------------------------------------------= --- Michael Rubinsky <[email protected]> (2019-12-05 17:02) wrote: The short answer is: Outlook no longer supports Autodiscovery for connecting via=20=20 ActiveSync.=20You can read much about this by searching Google. It also=20= =20 hides=20the ability to manually configure an ActiveSync mailbox. You can=20= =20 unhide=20this ability by reading: https://support.microsoft.com/en-us/help/3189194/how-to-disable-simplified-= account-creation-in-outlook The longer answer is: Outlook uses a v2 of the Autodiscovery protocol, that first always=20=20 contacts=20microsoft's servers, which is then supposed to return either=20= =20 the=20url to the v1 autodiscovery service, or the url for ActiveSync.=20=20= =20 I've=20implemented support for v2 locally, but unfortunately, Outlook=20=20 doesn't=20actually make a request for the "MobileSync" namespace,=20=20 instead=20it uses the "outlook" namespace, which is used to configure=20=20 outlook=20for NON-ActiveSync clients (IMAP, POP3, etc..). This is why=20=20 the=20response you are receiving does not contain the ActiveSync URL. > Config: > $conf['activesync']['params']['driverconfig'] =3D 'horde'; > $conf['activesync']['storage'] =3D 'Sql'; > $conf['activesync']['enabled'] =3D true; > $conf['activesync']['emailsync'] =3D true; > $conf['activesync']['version'] =3D '14.1'; > $conf['activesync']['auth']['type'] =3D 'basic'; > $conf['activesync']['autodiscovery'] =3D 'full'; > $conf['activesync']['outlookdiscovery'] =3D false; > $conf['activesync']['logging']['path'] =3D '/var/log/horde'; > $conf['activesync']['logging']['level'] =3D '2'; > $conf['activesync']['logging']['type'] =3D 'perdevice'; > $conf['activesync']['ping']['heartbeatmin'] =3D 60; > $conf['activesync']['ping']['heartbeatmax'] =3D 2700; > $conf['activesync']['ping']['heartbeatdefault'] =3D 480; > $conf['activesync']['ping']['deviceping'] =3D true; > $conf['activesync']['ping']['waitinterval'] =3D 15; > > Im Fiddler sieht man, dass keine URL in der Antwort enthalten ist. > > Manuelle Einrichtung in OL funktioniert mit ActiveSync. > > Wenn ich mit wget die autodiscover.xml hole enth=C3=A4lt diese die Server= angaben. > > Request/Response aus Fiddler-Mittschnitt w=C3=A4hrend Outlook Autodiscove= r-Test: > > POST=20=20 >=20https://autodiscover.tom-friedrich.de/autodiscover/autodiscover.xml=20= =20 >=20HTTP/1.1 > Cache-Control: no-cache > Connection: Keep-Alive > Pragma: no-cache > Content-Type: text/xml > User-Agent: Microsoft Office/16.0 (Windows NT 10.0; Microsoft=20=20 >=20Outlook 16.0.10352; Pro) > X-MS-CookieUri-Requested: t > X-FeatureVersion: 1 > Client-Request-Id: {3C5F35C5-3832-43CB-BE01-9C607192CB7B} > X-User-Identity: [email protected] > X-MapiHttpCapability: 1 > Depth: 0 > X-AnchorMailbox: [email protected] > Content-Length: 353 > Host: autodiscover.tom-friedrich.de > Authorization: Basic ????????????????????????????????????? > Cookie: OutlookSession=3D"{6258E938-8B9C-4FF6-AB50-0B1D104D7088}";=20=20 >=20PHPSESSID=3D73g28ua8hmdlpipmskbuq53fn6;=20=20 >=20PHPSESSID=3Dil9rsdu32ba8omc796p4i886e7;=20=20 >=20horde_secret_key=3D??????????????????????? > > <?xml version=3D"1.0" encoding=3D"utf-8"?><Autodiscover=20=20 >=20xmlns=3D"http://schemas.microsoft.com/exchange/autodiscover/outlook/req= uestschema/2006"><Request><EMailAddress>[email protected]</EMailAddress>= <AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscove= r/outlook/responseschema/2006a</AcceptableResponseSchema></Request></Autodi= scover> > > > HTTP/1.1 200 OK > Date: Thu, 28 Nov 2019 19:10:19 GMT > Server: Apache/2.4.25 (Univention) > Expires: Thu, 19 Nov 1981 08:52:00 GMT > Cache-Control: private, max-age=3D10800 > Last-Modified: Sun, 18 Dec 2016 21:01:07 GMT > Content-Length: 514 > Vary: Accept-Encoding > Content-Type: text/xml;charset=3DUTF-8 > Set-Cookie: PHPSESSID=3D73g28ua8hmdlpipmskbuq53fn6; path=3D/ > Set-Cookie: PHPSESSID=3D00dj1fj353tfas972dhj3obtg1; path=3D/ > Set-Cookie: default_horde_view=3Ddeleted; expires=3DThu, 01-Jan-1970=20= =20 >=2000:00:01 GMT; Max-Age=3D0; path=3D/; domain=3Dautodiscover.tom-friedric= h.de > Via: 1.1 autodiscover.tom-friedrich.de > Keep-Alive: timeout=3D5, max=3D99 > Connection: Keep-Alive > > <Autodiscover=20=20 >=20xmlns=3D"http://schemas.microsoft.com/exchange/autodiscover/responsesch= ema/2006"> > <Response=20=20 >=20xmlns=3D"http://schemas.microsoft.com/exchange/autodiscover/outlook/res= ponseschema/2006a"> > <User> > <DisplayName>Thomas Friedrich</DisplayName> > </User> > <Account> > <AccountType>email</AccountType> > <Action>settings</Action></Account> > </Response> > </Autodiscover> > --===============6092654648949594956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- bugs mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected] --===============6092654648949594956==--