Unable to login with OL2013 and "§" or "$" in a users password



  • Hi,

    the subject describes the problem. One user with “§” or “$” in his password can not use OL2013 with ActiveSync. Login via WebApp/DeskApp works. Tested the ActiveSync connection via Firefox, he can login. If we set the password to a password with other characters, it also works with OL2013. z-push log when the login with correct credencials but “§/$” in password fails:

    19/05/2017 10:55:24 [19699] [WARN] [username] [] /srv/www/htdocs/z-push2/backend/kopano/kopano.php:151 mapi_logon_zarafa(): Unable to setup service for provider (2)
    19/05/2017 10:55:24 [19699] [ERROR] [username] [] KopanoBackend->Logon(): login failed with error code: 0xFFFFFFFF80040111
    19/05/2017 10:55:24 [19699] [FATAL] [username] [] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect
    19/05/2017 10:55:24 [19699] [WARN] [username] [] IP: x.x.x.x failed to authenticate user 'username'
    
    

    I found a similar issue: https://jira.z-hub.io/browse/ZP-1078. But we use Z-Push 2.3.6, thus I think this should be fixed already.

    Does OL2013 do some character conversion for the password and can this be fixed in z-push?

    Regards,
    pingo


  • Kopano

    This should be fixed. Can you enable WBXML_DEBUG log, try to re-login again and post the output here?



  • 19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] -------- Start
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] cmd='' devType='' devId='' getUser='kopano.test' from='x.x.x.x' version='2.3.6' method='OPTIONS'
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] ZPush::GetBackend(): trying autoload backend 'BackendKopano'
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] BackendKopano using PHP-MAPI version: 8.2.1-531 - PHP version: 5.5.14
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] KopanoBackend->Logon(): Trying to authenticate user 'kopano.test'..
    19/05/2017 17:07:44 [24724] [WARN] [kopano.test] /srv/www/htdocs/z-push2/backend/kopano/kopano.php:151 mapi_logon_zarafa(): Unable to setup service for provider (2)
    19/05/2017 17:07:44 [24724] [ERROR] [kopano.test] KopanoBackend->Logon(): login failed with error code: 0xFFFFFFFF80040111
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] KopanoBackend->Logon(): logon failed for user 'kopano.test'
    19/05/2017 17:07:44 [24724] [ INFO] [kopano.test] AuthenticationRequiredException: Access denied. Username or password incorrect - code: 0 - file: /srv/www/htdocs/z-push2/lib/request/requestprocessor.php:65
    19/05/2017 17:07:44 [24724] [ INFO] [kopano.test] User-agent: 'unknown'
    19/05/2017 17:07:44 [24724] [FATAL] [kopano.test] Exception: (AuthenticationRequiredException) - Access denied. Username or password incorrect
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] TopCollector(): Initialized mutexid Resource id #23 and memid Resource id #24.
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] TopCollector initialised with IPC provider 'IpcSharedMemoryProvider' with type '20'
    19/05/2017 17:07:44 [24724] [ INFO] [kopano.test] cmd='' memory='1.62 MiB/2.00 MiB' time='0.04s' devType='' devId='' getUser='kopano.test' from='172.16.4.185' idle='0s' version='2.3.6' method='OPTIONS' httpcode='401'
    19/05/2017 17:07:44 [24724] [DEBUG] [kopano.test] -------- End
    


  • Hi Sebastian,

    changing to the password with “§$” after I had a first successful sync with a other password works. It looks like the problem exists only if the user tries to make the initial connection with the strange password…

    pingo


  • Kopano

    I could reproduce the issue and found a bug in the charset conversion that is not triggered correctly when doing the OPTIONS request.
    I’ve created a ticket and already fixed it: https://jira.z-hub.io/browse/ZP-1221

    This fix will be available in Z-Push 2.3.7.

    Thanks for reporting! :)

    Cheers,
    Sebastian



  • Thanks for the investigation and the fix. I applied the changes to our installation and it works :-)


Log in to reply
 

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.