[LDAP] Locked out of RTC
![]()
I am following directions in LDAP4Dummies very carefully but I appear to have gone off the path somewhere.
I followed this sequence: 1) Login with ADMIN/ADMIN 2) Go to the "Custom Setup" 3) Go to the page "Setup User Registry" 4) Select "Non-LDAP External Registry" 5) created a user 6) Shutdown the server 7) Configure Web Container for LDAP 8) Restart the server 9) Open the page https://localhost:9443/jazz/setup 10)Configure Jazz Team Server for LDAP at this point I am logged in as an LDAP user but I am unable to complete the LDAP configuration. It tells me it cannot create user "undefined". I login as the user in step 5. Same thing. So, I shutdown the server, change the Realm back to Tomcat, comment out the LDAP realm and restart the server. Now I can login to the setup page with the user created in step 5 but it says I don't have permission to access the Jazz Team Server Setup. I appear to be stuck between worlds. ADMIN and the user created in step 5 are in the tomcat-users file with correct roles but when I attempt to login to the admin I am told "Incorrect username or password." Help! I may simply copy back the backup versions on web.xml and server.xml but I am not hopefull. |
2 answers
![]()
I'm going to have to do a reinstall. Despite rolling back the files I am now getting a 404 error when attempting to load the setup page.
|
![]()
Here's the steps I use
Login with ADMIN/ADMIN Start the "Custom Setup" Complete the steps up to the user registry settings On the "Setup User Registry" page Select LDAP for the user registry Fill out all the fields for LDAP Test the connection Once the test succeeds click the "save tomcat files" button. Click the "show more" link to show the path and name of the saved files. (see example below) Stop RTC Replace the existing files with the ones from the "save tomcat files" step Restart RTC refresh the page and log on with an ldap account that is in the jazz admins group. Continue the setup. Here is my show more from the save tomcat files action: Tomcat configuration files were created: C:\Program Files\JazzTeamServer\server\tomcat\webapps\jts\WEB-INF\web-LDAP20140609100121.xml,C:\Program Files\JazzTeamServer\server\tomcat\webapps\ccm\WEB-INF\web-LDAP20140609100121.xml,C:\Program Files\JazzTeamServer\server\tomcat\webapps\admin\WEB-INF\web-LDAP20140609100121.xml and C:\Program Files\JazzTeamServer\server\tomcat\conf\server-LDAP20140609100121.xml. To complete the LDAP configuration, please replace existing files with them and restart Tomcat. So you would rename: C:\Program Files\JazzTeamServer\server\tomcat\webapps\jts\WEB-INF\web-LDAP20140609100121.xml to C:\Program Files\JazzTeamServer\server\tomcat\webapps\jts\WEB-INF\web.xml Do the same for the other files as well. Note I usually backup the original just in case. |
Comments
Copying the original server.xml and web.xml file back into place doesn't help. I am unable to login with any account; ADMIN, my local non-LDAP jazz admin account, nor my LDAP account.