It's all about the answers!

Ask a question

How can I migrate users from tomcat-users.xml to WAS LDAP (MS AD)?


Yasuyuki Tominaga (297416) | asked Dec 16 '15, 2:27 a.m.
How can I migrate users from tomcat-users.xml to WAS LDAP (MS AD)?

Accepted answer


permanent link
Kohji Ohsawa (5951310) | answered Dec 16 '15, 2:33 a.m.
JAZZ DEVELOPER
Hi Tommy, 

Typically, it can be done like below.

1. Export users to CSV with using repotools-jts -exportUsers.
See also http://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.jazz.
install.doc/topics/r_repotools_exportusers.html
 
2. Create JazzGroups (JazzAdmins, JazzProjectAdmins, JazzDWAdmins, JazzUsers, JazzGuests) in MS AD.

3. Convert CSV file to LDIF which can be imported to MS AD.
See also https://msdn.microsoft.com/ja-jp/library/Bb727091.aspx 
 
4. Import LDIF file to MS AD.

5. Assign imported users to JazzGroups on MS AD.

6. Configure WAS to use MS AD as a user registry.

7. Run jts/setup to configure LDAP for JTS.

Hoping this works well for you.
Yasuyuki Tominaga selected this answer as the correct answer

Comments
Yasuyuki Tominaga commented Dec 16 '15, 5:20 a.m.

Thanks, this works in my test env!

One other answer



permanent link
Ralph Schoon (63.2k33646) | answered Dec 16 '15, 2:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In case the users are already in MS AD and you need to change the ID's of the existing users you might want to consider reading this post: https://rsjazz.wordpress.com/2012/10/12/changing-the-jazz-user-id-using-the-rtc-plain-java-client-libraries/

Comments
Yasuyuki Tominaga commented Dec 16 '15, 5:51 a.m.

Thank you. This time the uses aren't already in MS AD, but I appreciate your nice article.

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.