Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25384

Error Testing LDAP Authentication: Write operations are not allowed in read-only mode (FlushMode.NEVER):

    XMLWordPrintable

Details

    Description

      When connecting MS LDAP server with settings that work fine with JIRA 5 I get the following error.

      Test user can authenticate : Failed
      Write operations are not allowed in read-only mode (FlushMode.NEVER): Turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition.

      Steps to reproduce

      1. Set up LDAP directory in Confluence Admin
      2. Enter a user and test their authentication
      3. Error message will appear
      4. Synchronise the directory and note that the user is created
      5. Log in as the user, this will be successful

      Resolution

      This error message occurs despite the authentication test being successful. It does not indicate an actual error in authentication, and no functionality is affected. You can safely continue to configure the LDAP directory and it will be successful.

      Attachments

        Issue Links

          Activity

            People

              drizzuto David Rizzuto
              aaecbe3fe711 rob nield
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: