Problem mapping custom LDAP groups to roles in Jazz
Referring to this article, I am trying to map LDAP groups to roles in Jazz for setup. I just got Jazz (Rational Team Concert) unpacked and started, I am using the latest September 9th 2014 5.0.1 release, and I started going through all of the setup. I am using DB2 for the database, and I already got that all set up, and I went to the URL https://hostname.domain.com:9443/jts/setup to begin my setup. In the setup, I selected the option for LDAP authentication and got to the point where I was successfully able to authenticate when clicking the "Test Authentication" button. After configuring this, it informed me that I needed to log out and log back in with my LDAP credentials to proceed. (I also remember clicking on a "Save Tomcat Config Files" button near the bottom of the page). I went and replaced the generated LDAP enabled XML configuration files with the originals, and shutdown and started up my server. Now, I go to log back in, and it authenticates to the LDAP directory properly, but I see:
We're sorry...
The user ID you logged in with is not recognizable
If you used the default ADMIN user to log in, you likely disabled it during the setup. Try again using the new admin user you created during the setup.
It appears that I can get back in with ADMIN if I go to the tomcat/conf/server.xml and replace it with the original contents (which nullifies my LDAP settings as well).
Is there anything that I am doing incorrectly? Let's assume I wanted to go with the second method to define groups locally. Are there any other changes I need to make to the web.xml file of each webapp?
Accepted answer
The setup mentions http://www.ibm.com/support/docview.wss?uid=swg21445366 to validate the settings.
Another thing with Tomcat and LDAP is that you need to replace some descriptor files for all the applications JTS, CCM, RM, QM (save the old ones and copy the new ones over) This used to be described in the setup LDAP setup step, after setting - as described in the LDAP setup using the button Save Tomcat Config Files and the related description.
You need to restart the server after that.
I would suggest to really follow http://www.ibm.com/support/docview.wss?uid=swg21445366 to make sure your settings are correct.
Also, you need to have the new user you want to use for the login in LDAP, with the right repository groups. the steps above should provide you with the information.
Another thing with Tomcat and LDAP is that you need to replace some descriptor files for all the applications JTS, CCM, RM, QM (save the old ones and copy the new ones over) This used to be described in the setup LDAP setup step, after setting - as described in the LDAP setup using the button Save Tomcat Config Files and the related description.
show details
You need to restart the server after that.
I would suggest to really follow http://www.ibm.com/support/docview.wss?uid=swg21445366 to make sure your settings are correct.
Also, you need to have the new user you want to use for the login in LDAP, with the right repository groups. the steps above should provide you with the information.
Comments
Donald Nong
Sep 29 '14, 8:02 p.m.Michael Plautz
Sep 30 '14, 4:27 p.m.