General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] SOGo 4.0.8 + Activesync + MySQL authentication issue


Chronological Thread 
  • From: "Christian Mack" ( ) < >
  • To:
  • Subject: Re: [SOGo] SOGo 4.0.8 + Activesync + MySQL authentication issue
  • Date: Mon, 26 Aug 2019 16:04:34 +0200
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca E02EC1DE51B9

Am 26.08.19 um 15:30 schrieb ej magpayo
( ):
> Hi!
>
> I've been getting this weird error. I have successfully setup SOGo on
> Debian9 that with user source SQL. It can authenticate using the web
> interface but it fails on Android Outlook via EAS
>
> Below is the chunk of log that shows why its failing..
>
> Aug 26 21:18:17 sogod [2884]: |SOGo| starting method 'OPTIONS' on uri
> '/SOGo/Microsoft-Server-ActiveSync?Cmd=Options&User=ej&DeviceId=OPCC2C2983C14C9DE5159567EA4C096B&DeviceType=Outlook'
> 2019-08-26 21:18:17.677 sogod[2884:2884] <MySQL4Channel[0x0x55a2acffde20]
> connection=0x0x55a2acd4d368> SQL: SELECT c_password FROM sogo_users WHERE
> c_uid =
> ' ';
> 2019-08-26 21:18:17.677 sogod[2884:2884] <MySQL4Channel[0x0x55a2acffde20]
> connection=0x0x55a2acd4d368> query has results, entering fetch-mode.
> Aug 26 21:18:17 sogod [2884]: <0x0x55a2acfc9300[SOGoDAVAuthenticator]> tried
> wrong password for user
> ' '!
> Aug 26 21:18:17 sogod [2884]: |SOGo| request took 0.001311 seconds to
> execute
>
> The c_uid should only be testuser without the domain. Which results to
> authentication failure.
>
> Hope someone can help me on this issue. TIA
>

Perhaps Outlook App is sending complete email as user name.
Never used it myself, so I don't know, if you can set a user name for
ActiveSync.

You could set bindFields to uid and mail in SOGoUserSources, that way
SOGo will additionally accept email as user name.
bindFields = (
uid,
mail
);


Kind regards,
Christian Mack

--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.18.

Top of page