Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-1069

Document workaround for: CS and LDAP user validation can't happen simultaneously

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • None
    • Doc
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Add the following to the section on LDAP Authentication in the Admin Guide:

      LDAP User Authentication

      Limitation

      CloudStack and LDAP user authentication can't happen simultaneously because the CloudStack user password is MD5 hashed and the LDAP server expects the password in plain text. To workaround:

      1. Disable password hashing:

      a. Open the sharedFunctions.js file located at /usr/share/cloud/management/webapps/client/
      scripts.

      b. Set the following variables to false:

      var md5HashedLogin = false;

      2. Open /etc/cloud/management/components.xml file.

      3. Change the following:

      <adapter name="MD5" class="com.cloud.server.auth.MD5UserAuthenticator"/>
      to
      <adapter name="MD5" class="com.cloud.server.auth.PlainTextUserAuthenticator"/>

      4. Restart the Cloud Management service.

      service cloud-management restart

      Now, the users can successfully log in by using either the LDAP credentials or the CloudStack credentials.

      Attachments

        Activity

          People

            htrippaers Hugo Trippaers
            jtomechak Jessica Tomechak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: