Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[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.

0 votes

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.



2 answers

Permanent link
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.

0 votes


Permanent link
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.


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 02 '08, 2:28 a.m.

Question was seen: 5,342 times

Last updated: Jun 09 '14, 10:10 a.m.

Confirmation Cancel Confirm