Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4478

[GSS] (7.12.1) Cannot clone project by ssh when business central is integrated with LDAP

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 7.12.1.GA
    • None
    • Business Central
    • JBoss EAP 7.4.2+

      RHPAM 7.12.0

      RHPAM 7.12.1

      LDAP

    • False
    • None
    • False
    • Hide

      1. Start the LDAP server:

          - Uncompress LDAP.zip
          - Start the LDAP server
          
              ~~~
              $ cd LDAP
              $ java -Djavax.net.debug=all -jar ldap-server/target/ldap-server.jar -sp 10636 -skf ldaps.keystore -skp 123456 -b localhost jbpm.ldif
              ~~~
              
      2. Install JBoss EAP 7.4.7 + RHPAM 7.13.0. As the installation is too big (1.8GB), I compressed the "standalone" folder into the RHPAM-7130-EAP-7.4.7-standalone.zip

          - Install JBoss EAP 7.4.7 
          - Install RHPAM 7.13.0
          - Uncompress RHPAM-7130-EAP-7.4.7-standalone.zip
          - Copy the "configuration" and "deployments" folders into your installation
          
      3. Start the RHPAM application

          ~~~
          $ cd <RHPAM_HOME>/bin
          $ standalone.sh -c standalone-full.xml.ELYTRON_LDAP -Ddatasource.management.wildfly.admin=admin -Ddatasource.management.wildfly.password=admin@123 -Ddatasource.management.wildfly.realm=ldap-security-realm
          ~~~
          
      4. Login in the Business Central

          - Go to http://localhost:8080/business-central
          - krisv / krisv3
          
      5. Import the "myproject.git" through the Business Central

          - Uncompress myproject.git.zip
          - Go to "Projects -> MySpace"
          - Click "Import project"
                  Repository url: "file://<myproject.git_folder>
          - Import that project
          
      6. Open a terminal a try to clone that project from the command line:

          ~~~
          $ GIT_SSH_COMMAND="ssh -v" git clone ssh://krisv@localhost:8001/MySpace/myproject
          ~~~

      Show
      1. Start the LDAP server:     - Uncompress LDAP.zip     - Start the LDAP server              ~~~         $ cd LDAP         $ java -Djavax.net.debug=all -jar ldap-server/target/ldap-server.jar -sp 10636 -skf ldaps.keystore -skp 123456 -b localhost jbpm.ldif         ~~~          2. Install JBoss EAP 7.4.7 + RHPAM 7.13.0. As the installation is too big (1.8GB), I compressed the "standalone" folder into the RHPAM-7130-EAP-7.4.7-standalone.zip     - Install JBoss EAP 7.4.7      - Install RHPAM 7.13.0     - Uncompress RHPAM-7130-EAP-7.4.7-standalone.zip     - Copy the "configuration" and "deployments" folders into your installation      3. Start the RHPAM application     ~~~     $ cd <RHPAM_HOME>/bin     $ standalone.sh -c standalone-full.xml.ELYTRON_LDAP -Ddatasource.management.wildfly.admin=admin -Ddatasource.management.wildfly.password=admin@123 -Ddatasource.management.wildfly.realm=ldap-security-realm     ~~~      4. Login in the Business Central     - Go to http://localhost:8080/business-central     - krisv / krisv3      5. Import the "myproject.git" through the Business Central     - Uncompress myproject.git.zip     - Go to "Projects -> MySpace"     - Click "Import project"             Repository url: "file://<myproject.git_folder>     - Import that project      6. Open a terminal a try to clone that project from the command line:     ~~~     $ GIT_SSH_COMMAND="ssh -v" git clone ssh://krisv@localhost:8001/MySpace/myproject     ~~~
    • ---
    • ---

    Description

      After following this solution for setting up RHPAM with LDAP, we could authenticate in business central and everything seems fine. However when we try to clone a repository from the business central through SSH, it doesn't work.

      When we try the following command, it always ask for the password and it never gets the repository:

      $ git clone ssh://<ldap_user>@localhost:8001/MySpace/project1

      Cloning into 'project1'...

      Password authentication

      Password:

      Password authentication

      Password:

      We enabled logging TRACE for the "org.jboss.security", "io.undertow.request.security" and "com.sun.jndi.ldap" packages. There is nothing in the log file. 

       

      Attachments

        1. LDAP.zip
          16.35 MB
        2. myproject.git.zip
          82 kB
        3. RHPAM-7130-EAP-7.4.7-standalone.zip
          258 kB

        Activity

          People

            r_anand Rishiraj Anand
            rhn-support-omolinab Oscar Molina
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: