Is there any way to modify the User ID
The User ID is a read-only attribute and cannot be modified.
The problem is that there are some achieved users that have the same User ID as some LDAP users but in different cases. e.g. helen is archieved and HELEN is from LDAP.
This was not a problem until now but such users prevents to set the com.ibm.team.repository.caseInsensitiveUserIds property to true.
It does not really prevent to set the property to true but a user like HELEN cannot login anymore.
Any solution would be appreciated.
Elisabeth
The problem is that there are some achieved users that have the same User ID as some LDAP users but in different cases. e.g. helen is archieved and HELEN is from LDAP.
This was not a problem until now but such users prevents to set the com.ibm.team.repository.caseInsensitiveUserIds property to true.
It does not really prevent to set the property to true but a user like HELEN cannot login anymore.
Any solution would be appreciated.
Elisabeth
2 answers
Unfortunately no, there is a workaround with LDAP described here:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/66532
===
I am using LDAP for authentication. How can I change the id of the user in Jazz repository?
The LDAP nightly sync task (or a user import) uses user id field to synchronize the users in LDAP user directory and the Jazz repository. We updated the id of the user. Therefore, the changes made in LDAP directory cannot be automatically synchronized with the Jazz repository. If you let the LDAP nightly sync task to run, it will create a new Jazz user with the new user id. So, whenever you change the user id in the LDAP user directory, perform the following steps to prevent LDAP nightly sync operation to create a user with the new id.
Update the user id field in the LDAP user directory
Go to advanced configuration page in the web UI (https://serverName:9443/jazz/admin#action=com.ibm.team.repository.admin.configureAdvanced)
Change the "User Registry Type" property to "UNSUPPORTED"
Open the user record in the Web UI or the Eclipse UI.
Since we are using Unsupported user registry, the Jazz web UI or the - Eclipse UI would allow you to update the user id information
- Change the user id of the user to the new value
- Change the user directory back to "LDAP".
==
And the general UI change to make this possible:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/84898
I've cc'd you on both.
Cheers,
Jean-Michel
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/66532
===
I am using LDAP for authentication. How can I change the id of the user in Jazz repository?
The LDAP nightly sync task (or a user import) uses user id field to synchronize the users in LDAP user directory and the Jazz repository. We updated the id of the user. Therefore, the changes made in LDAP directory cannot be automatically synchronized with the Jazz repository. If you let the LDAP nightly sync task to run, it will create a new Jazz user with the new user id. So, whenever you change the user id in the LDAP user directory, perform the following steps to prevent LDAP nightly sync operation to create a user with the new id.
Update the user id field in the LDAP user directory
Go to advanced configuration page in the web UI (https://serverName:9443/jazz/admin#action=com.ibm.team.repository.admin.configureAdvanced)
Change the "User Registry Type" property to "UNSUPPORTED"
Open the user record in the Web UI or the Eclipse UI.
Since we are using Unsupported user registry, the Jazz web UI or the - Eclipse UI would allow you to update the user id information
- Change the user id of the user to the new value
- Change the user directory back to "LDAP".
==
And the general UI change to make this possible:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/84898
I've cc'd you on both.
Cheers,
Jean-Michel