Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6726

Authentication freeze with LDAP and Dev Cockpit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.2
    • Fix Version/s: 4.5.5, 5.2
    • Labels:
      None
    • Environment:
      SonarQube 4.5.4
      Dev Cockpit 1.6.1
      MSSQL
      LDAP

      Description

      When a user try to connect to the server, the connection page freeze, and it's impossible for him to access to the server.
      It only happen when the user login match the SCM account, and when sonar.devcockpit.userAutoMapping is set to true.

      Technical details
      After implementing SONAR-4950, there's no more call on user.save(false) after the synchronisation of the groups (https://github.com/SonarSource/sonarqube/commit/7534b360dac6e9e139bd148613fe6a9930dfffa4#diff-18cd9467f0bf8d5c0e290e5a00e55054R160).
      So no commit on user is done, then if notify_creation_handlers need to access to the users table (which is the case for the Dev Cockpit plugin) it fails because there's a lock on it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: