[horde] H6 Active Sync authentication error

Ralf Lang ralf.lang at gmail.com
Mon Apr 13 12:54:47 UTC 2026


Hello Horst,

can you please try to add this setting to conf.php

$conf['activesync']['autodiscovery'] = 'full';

and confirm if it changes anything for you. First I need to understand if
this setting actually helps - we need to make this more intuitive and "out
of the box" before stable release.

Regards

Ralf

On Mon, Apr 13, 2026 at 1:50 PM Andreas Mauser <andreas at mauser.info> wrote:

> April 13, 2026 at 11:54 AM, horst.simon2 at icloud.com mailto:
> horst.simon2 at icloud.com  wrote:
>
>
> >
> > >
> > > On 13 Apr 2026, at 17:55, Andreas Mauser <andreas at mauser.info> wrote:
> > >
> > >  April 13, 2026 at 8:05 AM, horst.simon2 at icloud.com mailto:
> horst.simon2 at icloud.com wrote:
> > >
> > >
> > >
> > > >
> > > > Active Sync gives me authentication error, the username (
> horst at address.net) is the full email address, but when I check the logs
> it shows only the name from before the @.
> > > >  Carddav and Caldav authenticating correct.
> > > >  Following are the log entries:
> > > >  2026-04-13T15:34:43+10:00 DEBUG: HORDE [horde]
> Horde_Rpc::__construct complete [pid 3228 on line 48 of
> "/opt/local/www/apache2/horde/vendor/horde/rpc/lib/Horde/Rpc/ActiveSync.php"]
> > > >  2026-04-13T15:34:43+10:00 DEBUG: HORDE
> Horde_Rpc_ActiveSync::getResponse() starting for OPTIONS [pid 3228 on line
> 197 of "/opt/local/www/apache2/horde/vendor/horde/horde/rpc.php"]
> > > >  2026-04-13T15:34:47+10:00 NOTICE: HORDE Login failed from
> ActiveSync client for user horst. [pid 3228 on line 603 of
> "/opt/local/www/apache2/horde/vendor/horde/activesync/lib/Horde/ActiveSync.php"]
> > > >  2026-04-13T15:34:47+10:00 NOTICE: HORDE Sending HTTP 401
> Unauthorized header response. [pid 3228 on line 129 of
> "/opt/local/www/apache2/horde/vendor/horde/rpc/lib/Horde/Rpc/ActiveSync.php"]
> > > >
> > >
> > >  It could be one of these:
> > >
> > >  Navigate to Administration > Configuration > Horde > ActiveSync.
> > >  Look for a setting typically labeled "Strip domain part from the
> username?" or "Username format".
> > >
> > >  Check your horde/config/conf.php. Horde might be configured to
> globally treat the username as a simple string.
> > >  Look for your authentication driver configuration:
> > >
> > >  PHP
> > >  $conf['auth']['params']['strip_domain'] = true;
> > >
> > >
> > >  Check your imp/config/backends.local.php.
> > >  If you have a configuration for your IMAP server, ensure the
> hordeauth parameter is handled correctly. If ActiveSync tries to
> authenticate against the mail server to "verify" the user, and the mail
> server expects horst at address.net but receives horst, it will fail.
> > >  Ensure your backend has:
> > >
> > >  PHP
> > >  'hordeauth' => 'full',
> > >
> > >
> > >  Best regards,
> > >  Andreas
> > >
> > There was no driver authentication parameter in conf.php, so I added:
> >
> > >
> > > $conf['auth']['params']['strip_domain'] = false;
> > >
> > The imp backend.php has
> > 'hordeauth' => 'full'
> >
> > The Horde Web login and CardDav and CalDav are working correct with the
> full username, only active sync has authentication issues. Authentication
> is using imp authentication, for imp I am using dovecot and the users are
> in mariadb created by
> > postfixadmin.
>
> Hm. I never created any users in any database ever. Here it's all done via
> local users. But this up to you, you can use LDAP users as well..
> So when a user exist, he can login to Horde. Also he is able to use
> ActiveSync by nature. (AFAIK)
>
> What's the logs say? Any hints in there?
>
>
>
> > Best Regards,
> > Horst Simon
> >
>
> Mit freundlichen Grüßen,
> Andreas Mauser
> +49 160 551 1166
> Frankfurt am Main
>
> Andreas ist keine KI und kann Fehler machen, auch bei Informationen über
> Personen.
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list