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

Delete manual user entry from LDAP managed user registry

We had inadvertently added a user to RTC using the Create User button in the web UI and now we cannot find the user in our server to make any corrections.

This has hindered us from importing the user from LDAP and there appears no way around this. The LDAP nightly sync does not appear to have addressed this either.

We get the error below when trying to import:

Problem occurred during user import
CRJAZ1317I User with the same user id "xxxxx@uxxxx.com" already exists.
existing user: "com.ibm.team.repository.common.model.impl.ContributorImpl@336c336c (stateId: , itemId: , origin: <unset>, immutable: true) (contextId: , modified: 2010-03-30 19:54:34.468, workingCopy: <unset>) (mergePredecessor: null, workingCopyPredecessor: <unset>, workingCopyMergePredecessor: <unset>, predecessor: null) (emailAddress: xxxxx@uxxxx.com, userId: xxxxx@uxxxx.com, name: User Name, archived: false)"
new user: "com.ibm.team.repository.common.model.impl.ContributorImpl@60876087 (stateId: null, itemId: , origin: <unset>, immutable: <unset>) (contextId: , modified: null, workingCopy: true) (mergePredecessor: null, workingCopyPredecessor: <unset>, workingCopyMergePredecessor: <unset>, predecessor: null) (emailAddress: xxxxx@uxxxx.com, userId: xxxxx@uxxxx.com, name: XXXX X. xxxxxxxx, archived: false)"

Is there a way to correct this via the application or do we need toremove the user directly from the database?

Also, if we are using LDAP as a user registry, why would the "Create User" button be enabled on the web ui?

0 votes



9 answers

Permanent link
Any thoughts on this, or do I need to go into the database and remove the offending created User Id?

We had inadvertently added a user to RTC using the Create User button in the web UI and now we cannot find the user in our server to make any corrections.

This has hindered us from importing the user from LDAP and there appears no way around this. The LDAP nightly sync does not appear to have addressed this either.

We get the error below when trying to import:

Problem occurred during user import
CRJAZ1317I User with the same user id "xxxxx@uxxxx.com" already exists.
existing user: "com.ibm.team.repository.common.model.impl.ContributorImpl@336c336c (stateId: , itemId: , origin: <unset>, immutable: true) (contextId: , modified: 2010-03-30 19:54:34.468, workingCopy: <unset>) (mergePredecessor: null, workingCopyPredecessor: <unset>, workingCopyMergePredecessor: <unset>, predecessor: null) (emailAddress: xxxxx@uxxxx.com, userId: xxxxx@uxxxx.com, name: User Name, archived: false)"
new user: "com.ibm.team.repository.common.model.impl.ContributorImpl@60876087 (stateId: null, itemId: , origin: <unset>, immutable: <unset>) (contextId: , modified: null, workingCopy: true) (mergePredecessor: null, workingCopyPredecessor: <unset>, workingCopyMergePredecessor: <unset>, predecessor: null) (emailAddress: xxxxx@uxxxx.com, userId: xxxxx@uxxxx.com, name: XXXX X. xxxxxxxx, archived: false)"

Is there a way to correct this via the application or do we need toremove the user directly from the database?

Also, if we are using LDAP as a user registry, why would the "Create User" button be enabled on the web ui?

0 votes


Permanent link
Hi we have the same issue, did you fix it and how ? thanks

0 votes


Permanent link
We are having the same problem

0 votes


Permanent link
We figured out that we had to switch LDAP managed realm on WAS console to WAS managed realm first and then deleted the users and switched back to LDAP realm again

We are having the same problem

0 votes

Comments

 Great


Can you please explain, how exactly you went about cleaning up the users?, it would be a great help for us.


Permanent link
This blog shows how to use the API to change the ID of users you can actually also add the AI call to delete the user ID as well. http://rsjazz.wordpress.com/2012/10/12/changing-the-jazz-user-id-using-the-rtc-plain-java-client-libraries/ The post also refers to the tech note http://www-01.ibm.com/support/docview.wss?uid=swg21470141 that describes how to do this manually. This should allow you to change the user Id and archive the user. Then you can sync in the correct user.

If the user has done work, you might want to think about fixing the user ID and e-mail to match LDAP so that the current user is in sync with LDAP and will stay that way in the future.

0 votes


Permanent link
Hi Ralph, The probelm for us is that users of JTS are not getting synced with CCM. We have JTS and CCM running as a seperate JVM. We renamed few users and archieved them using http://www-01.ibm.com/support/docview.wss?uid=swg21470141 We tried all the tech notes available on jazz.net related to syncing issues but the problem is still not resolved. According to my understanding, JTS is trying to sync the users to CCM but it somehow founds it in CCM and hence not importing it. When we try to import the user manually, it throws that the user is already exists. So i think we need to remove those users from CCM. The above comment shows that we have to do some changes in WAS console. We are using WAS as application server.

0 votes

Comments

Darshan, I would suggest to open a separate question. Trying to ask about a completely different topic in an ongoing question does not make sense and usually does only confuse readers of the thread.

If you managed to get JTS and CCM out of sync e.g. due to a inconstistnet restore from a backup (see https://jazz.net/wiki/bin/view/Deployment/BackupCLM ), you will likely not be able to recover from that without reaching out to support.


Permanent link

Hi Ralph, Aplogies for this. But if i understand this correctly then this post also talks about deleting the users from LDAP managed user registry. We also want the same thing. We saw Clement Liu (Nationwide) commented that they did some changes in WAS console and deleted the users which resolved their problem. We just wanted to know what exact changes are needed.

0 votes

Comments

Each application JTS, CCM, QM (not RM) has its own user managment. JTS syncs the users to the other apps. You would have to try to connect to CCM and try to get rid of a user. You could try to use the Technote mentioned above to do so. Not sure it will solve your issues, really.

JTS tries to create new users in CCM if it thinks the user is not already there. This should not happen, because when this was introduced in 3.x you would have merged the user base in the upgrade. Another reason why this could happen is a wrong DB restore, where JTS is restored to a point in time before the state of the CCM DB, now tries to create a new user that it already created in RTC prior to the restore.

I am not sure what your situation is but I would suggest to get in contact with support anyway, in order to avoid trying to fix something with the wrong measures and ending up with more problems.


Permanent link

Thanks Ralph. We have some inconsistency with JTS and CCM user management. We have some missing users in CCM as compare to JTS. In other words, we have some users in JTS as active users but they are not visible in CCM. When we try to manually import them in CCM, we are getting error that user already exist. We have not restored DB from last 6 months or so.

We already have support PMR open for it but wanted to see if we get any resolution in the jazz forum.

0 votes


Permanent link
My initial inquiry was for RTC 2.x.  A subsequent LDAP syc actually corrected our issue.  My questions does not apply to CLM (JTS and RTC)

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: Mar 31 '10, 10:40 a.m.

Question was seen: 8,816 times

Last updated: Sep 19 '13, 10:52 a.m.

Confirmation Cancel Confirm