Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

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

    Z-Push when using Kopano
    2
    6
    1537
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pingo
      pingo last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Sebastian
        Sebastian Kopano last edited by

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

        pingo 1 Reply Last reply Reply Quote 0
        • pingo
          pingo @Sebastian last edited by

          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
          
          1 Reply Last reply Reply Quote 0
          • pingo
            pingo last edited by

            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

            1 Reply Last reply Reply Quote 0
            • Sebastian
              Sebastian Kopano last edited by

              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

              1 Reply Last reply Reply Quote 0
              • pingo
                pingo last edited by

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post