This article explains how to run a scheduled cleanup job when the identity source no longer exists and then how to force the cleanup of a particular user or group
Adding a user with the same user ID gives the following error message
There was a problem processing your request.
Cannot add or manage a user with user ID <user ID>. Your deployment is configured to not allow duplicate user IDs in a realm. This user ID is already in use by an unresolvable user in this realm.
For more information, see the Troubleshooting appendix in the Administrator's Guide.
Running a one time clean up job fails with the message in the system log:
Unable to connect to LDAP Identity Source
Skipping identity source: 1acf46bc2cf7b50a03897609cbd4d0ff (myidentitysource.com Unable to run the cleanup job because the of the error LDAP_CONNECTION_FAILED
com.rsa.ims.admin.dal.ldap.ConnectionException: Error connecting to the identity source
The following identity sources were unavailable while generating the list of unresolvable users if you want to clean up users from all your identity sources, make sure that all identity sources are available and configure settings again
The cleanup job is unable to run as the LDAP server is no longer reachable. To solve this problem the following should be done:
- Login to the Operations Console
- Edit the Identity Source that was deleted
- On the Connection(s) tab change the LDAP URL connection strings to be that of ANY valid LDAP directory. The important thing is that a test connection should be successful
- On the Map tab, make sure that that the User Base DN and User Group Base DN values point to values that exist in our LDAP directory
- Under Directory Configuration- Users, change the search filter to a value that will produce NO results. For example:
(&(objectClass=User)(objectcategory=person)(cn=XYZABC123))
- Under Directory Configuration - User groups, change the seach filter to a value that will produce no results. For example,
(&(objectClass=group)(cn=XYZABC123))
- Save the settings.
- Login to the Security Console and navigate to Setup > Identity Sources > Clean Up Unresolveable Users.
- Select the identity source from the drop down list.
- To remove the Grace Period, uncheck the option.
- Click Next.
- All users in the identity source will be displayed and can now be deleted.
To force the clean up of a particular user or group (for example user myuser, group mygroup)
- Login to the Operations Console.
- Edit the Identity Source that contains the user you wish clean up
- On the Connection(s) tab.Verify the the LDAP URL connection strings are correct. The important thing is that a test connection should be successful.
- On the Map page, make sure that that User Base DN and User Group Base DN values point to values that exist in our LDAP directory/
- OPTIONAL IF ONLY DELETING A USER. Under Directory Configuration- Users, change the search filter to a value that will exclude the user we wish to cleanup. For example,
(&(objectClass=User)&(objectcategory=person)&(!(sAMAccountName=myuser)))
- OPTIONAL IF ONLY DELETING A GROUP. Under Directory Configuration - User groups - change the search filter to a value that will exclude the group we wish to cleanup. FOr example,
(&(objectClass=group)&(!(cn=mygroup)))
- Save the settings.
- Go to Security Console and navigate to Setup > Identity Sources > Clean Up Unresolveable Users.
- To remove the Grace Period, uncheck the option.
- Click Next.
- User myuser and/or group mygroup will be scheduled for cleanup