General discussion on installation and configuration of SOGo

Text archives Help


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


Chronological Thread 
  • From: "ej magpayo" ( ) < >
  • To:
  • Subject: Re: [SOGo] SOGo 4.0.8 + Activesync + MySQL authentication issue
  • Date: Tue, 27 Aug 2019 08:17:18 +0800
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 5D0631DE51CB

Thanks for the reply, Christian!

Tried bindFields and loginFieldNames and both doesn't work. Just to let you know I have  setup on a Debian 8 installation but with SOGo v2  and it doesn't have any issues with activesync authentication with Android Outlook

On Mon, Aug 26, 2019 at 10:05 PM Christian Mack < > wrote:
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



--

ej magpayo
M: +(63) 998-8875784




Archive powered by MHonArc 2.6.18.

Top of page