It's all about the answers!

Ask a question

Export user and Password from LDAP to Tomcat Users.

Leandro Leal (14624345) | asked May 20 '13, 6:00 p.m.
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,

One answer

permanent link
Joseph Mao (440189) | answered May 21 '13, 2:59 a.m.
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 " -exportUsers toFile=test.csv", so that you get a sample
4. import user (without password) to JTS via command -importUsers
    this will help create user in jts repository with userId, userName and mail

Your answer

Register or 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.