It's all about the answers!

Ask a question

LDAP sync about user who is removed from Active Directory

Yohko Tanaka (10523239) | asked Jan 06 '14, 7:06 p.m.
I configured CLM 4.0.3 on WAS 8.5 with Active Directory.
When synchronizing AD with JTS, I found that users who were deleted from AD still remains in JTS user directory.
I read the infocenter and expected that Error record was created, but it didn't.

Synchronizing LDAP with Jazz Team Server repository user information

Is this behaviour expected? ( I understand so, by reading the article below, but want to make sure just in case.)

Is there any way to sync "deleted users"? (If deleted from AD, the users deleted from JTS as well)
If it's impossible, is there any way to know the users who were removed from AD but still remains JTS?

sam detweiler commented Jan 06 '14, 9:25 p.m. | edited Jan 06 '14, 9:25 p.m.

You should not remove the user from jts, as their id is in all kinds of data. The user should be archived. 

One answer

permanent link
Ralph Schoon (63.3k33646) | answered Jan 07 '14, 5:46 a.m.
As far as I can tell, deletion of users is not supported. As Sam points out, you are supposed to archive users that should no longer be used.

Please see the answer on for details.

Yohko Tanaka commented Jan 08 '14, 8:59 p.m.

Thank you Sam, Ralph.

I understand that I should archive users.
It would be great if you could tell me one more.

Is there any way to know users who aren't in LDAP any more?
I expected that LDAP sync results create "error record" about those users, but it didn't.

Thank you in advance.

Ralph Schoon commented Jan 09 '14, 3:46 a.m. | edited Jan 09 '14, 3:47 a.m.

JTS or RTC don't "know" about what is in LDAP and what is not, as far as I can tell. The user entry is just managed in the database. If LDAP is configured, RTC delegates authentication to LDAP through the application server.

I don't think RTC does anything about  users that are not found in LDAP. In cases where you use mixed local and LDAP authentication, this would also not be an indicator that the user needs to be archived.

You could probably use LDAP tools to report the users in the relevant repository groups in LDAP.
You could export the Jazz users using the repotools  -exportUsers command and then go through both lists and compare them. I am not sure if -importUsers could be used to archive users no longer in LDAP. You could experiment with it.

If not, you could use an approach similar to described in to automatically archive the user.

Yohko Tanaka commented Jan 09 '14, 11:43 p.m.

Thank you!
I'll try some way you introduced.

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.