Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-8524

LDAP UI admin role is not converted on upgrade from OSS to Pro

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.2
    • Fix Version/s: None
    • Component/s: LDAP, Security
    • Labels:
      None

      Description

      Start up Nexus OSS, and assign the "UI: LDAP Administrator" role to a user.

      Now upgrade to Nexus Pro. After upgrade, you will see errors like this in the log:

      2015-04-29 14:32:08 ERROR [qtp346428517-399] *UNKNOWN org.sonatype.security.realms.XmlAuthenticatingRealm - Unable to update hash for user admin
      org.sonatype.configuration.validation.InvalidConfigurationException: Configuration is invalid!
      Validation errors follows:
      o roles - User ID 'admin' Invalid role id 'ui-ldap-admin' found.

      To work around this, you need to replace occurrences of "ui-ldap-admin" with "ui-enterprise-ldap-admin" in the security.xml file.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title