[horde] Activesync fails with User is not authorized for horde
Mike Michel
mike.michel at mmbash.de
Fri Aug 29 10:22:09 UTC 2014
Hi,
i want to start using activesync but login using the Nine Android Client
fails with "Can't connect to server". Horde Debug throws:
User is not authorized for horde [pid 552 on line 324 of
"/usr/share/php/Horde/Registry.php"]
I can login with that user using the webgui and
https://testconnectivity.microsoft.com "ActiveSync Autodiscover" test is
fine but the "Exchange ActiveSync" test fails with:
The Initial Anonymous HTTPS request didn't fail, but Anonymous isn't a
supported authentication method for this scenario.
Pragma: no-cache
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Length: 0
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Content-Type: text/html
Date: Fri, 29 Aug 2014 07:54:05 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Location:
/login.php?url=https%3A%2F%2Fwebmail.domain.de%2FMicrosoft-Server-ActiveSync
%2F&horde_logout_token=2fT3TlbetFPV15RZLT-IcQ1
Set-Cookie: Horde1=abgem1hbh353dvbte3nd62dg66; path=/;
domain=webmail.domain.de; HttpOnly
Server: Apache
Verstrichene Zeit: 557 ms.
Server vars for a request to
webmail.domain.de/autodiscover/autodiscover.xml:
'HTTP_AUTHORIZATION' => 'Basic
dGVzdEB3YWtlYmVhY2guZGU6dGVzdHN0eWxlODExIQ==',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'webmail.domain.de',
'HTTP_HOST' => 'webmail.domain.de',
'HTTP_CONNECTION' => 'keep-alive',
'HTTP_ACCEPT' =>
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
,
'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE' => 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,es;q=0.2',
'HTTP_COOKIE' => 'horde_sidebar_c_anonymous_element_2=1;
horde_sidebar_c_anonymous_element_3=1;
horde_sidebar_c_anonymous_element_50=0; horde_sidebar_c_nag-toggle-shared=0;
horde_sidebar_c_turba-toggle-shared=0; horde_sidebar_c_turba-toggle-other=0;
horde_sidebar_c_mnemo-toggle-shared=0;
horde_sidebar_c_anonymous_element_7=0;
horde_sidebar_c_anonymous_element_8=0;
horde_sidebar_c_anonymous_element_9=0;
horde_sidebar_c_anonymous_element_10=0; horde_sidebar_c_nag-toggle-system=1;
horde_sidebar_c_anonymous_element_6=1; Horde5=v6r7g5db3s8v850f3k6cnbk137;
Horde=ju12lqbmvbr4bkfljdoahq19q4; horde_sidebar_c_anonymous_element_1=0;
PHPSESSID=2gmbtsnbc5ujim2nvcvicuqtk3; SERVERID=s1;
horde_secret_key=esdo33r7kk5s1mosbtmtumjoc2;
Horde1=5h7m6ptj6ce894q9ru5filruo1',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'webmail.domain.de',
'SERVER_ADDR' => '10.1.6.80',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '10.1.8.222',
'DOCUMENT_ROOT' => '/home/www/horde',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/home/www/horde/rpc.php',
'REMOTE_PORT' => '44506',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/autodiscover/autodiscover.xml',
'SCRIPT_NAME' => '/autodiscover/autodiscover.xml',
'PHP_SELF' => '/autodiscover/autodiscover.xml',
'PHP_AUTH_USER' => 'test at domain.de',
'PHP_AUTH_PW' => 'testsxyxyxy',
'REQUEST_TIME_FLOAT' => 1409303766.1410000324249267578125,
'REQUEST_TIME' => 1409303766,
)
Setup:
Horde 5.2.1
Auth: LDAP
$conf[activesync][autodiscovery]: Use the full email..
$conf[activesync][auth][type]: http Basic
Activesync Logfile is not created even i configured it in the settings tab
so it don't know how to debug this further.
Best,
Mike
More information about the horde
mailing list