LoginFieldNames = (c_uid, mail);

Add this optionals, so that either hongquan or [email protected] works.
But http access log is
172.16.81.56 - - [08/Apr/2019:14:14:47 +0800] "OPTIONS
/Microsoft-Server-ActiveSync HTTP/1.1" 200 - "-" "Android/5.1-EAS-1.3"
while it's probably due to App version, it still cannot sync email.etc.

On Mon, Apr 8, 2019 at 12:49 PM luckydog xf <[email protected]> wrote:

> # logs
>
> Apr 08 12:30:52 sogod [15247]: |SOGo| starting method 'OPTIONS' on uri
> '/SOGo/Microsoft-Server-ActiveSync'
> 2019-04-08 12:30:52.697 sogod[15247:15247]
> <MySQL4Channel[0x0x557eeed170f0] connection=0x0x557eeee23bc8> SQL: *SELECT
> c_password FROM view WHERE c_uid = 'hongquan';*
> 2019-04-08 12:30:52.698 sogod[15247:15247]
> <MySQL4Channel[0x0x557eeed170f0] connection=0x0x557eeee23bc8>   query has
> results, entering fetch-mode.
> Apr 08 12:30:52 sogod [15247]: <0x0x557eeeafec40[SOGoDAVAuthenticator]>
> tried wrong password for user 'hongquan'!
> Apr 08 12:30:52 sogod [15247]: |SOGo| request took 0.001318 seconds to
> execute
>
> # exchange client setup
> email addr: [email protected]
> username: [email protected]  ### I check that sogo reads account name
> specified here ###
> domain name: ad.pthl.hk
> password: XXXX
> server: mail.ad.pthl.hk
> ......
>
> Actually in MariadDB c_uid is *[email protected] <[email protected]>*,
> NOT hongquan. But EAS use hongquan as query string of SQL statement.
>
> Anything I can do to get rid of this ? Thanks.
>
>
>
>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to