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

Export user and Password from LDAP to Tomcat Users.

Hello, I need to export the LDAP´s users to Tomcat users but I have a problem because the password didn´t work.
Maybe itsn´t exported.
How can i Export LDAP´s users then import in Tomcat users and enter with the same UID and Password that LDAP.

Thank a lot,

0 votes



One answer

Permanent link
Suggest following steps,
1. Export data from LDAP to a csv file
LDAP users can be export by most LDAP browsers.  Softerra LDAP browser is a popular one.
you can select required attribute only, e.g. cn, name, mail, userPassword, memberOf, etc
2. check tomcat-users.xml format, add users, password info to it.
    mail, license, groups info are optional. you can do it via file, or update later via GUI
    
If user not in Jazz repository yet, then process following steps as well   
3. manually adjust csv file to the format Jazz accept
   to get the format, a easy way is to run command like "repotools-jts.sh -exportUsers toFile=test.csv", so that you get a sample
4. import user (without password) to JTS via command repotools-jts.sh -importUsers
    this will help create user in jts repository with userId, userName and mail

1 vote

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
× 6,130
× 1,700

Question asked: May 20 '13, 6:00 p.m.

Question was seen: 9,004 times

Last updated: May 21 '13, 2:59 a.m.

Confirmation Cancel Confirm