Issue:
Domino Admin unable to Deactivate user from Admin UI page, got "Keycloak. Error code: 404"
Root Cause:
The user no longer has a user account in keycloak
Resolution:
The user will not be able to login to Domino, therefore it is absolutely safe to leave the user active. However if the user needs to be deactivate in Domino for reporting or cosmetic purpose, it can be done directly in Mongo DB. Below are Mongo queries to perform:
-
Find the user by running
db.users.find({"loginId.id": "XXXXXX"})
(where XXXXXX is username) -
Then run
db.users.update({"_id": ObjectId("YYYYYY")}, {$set: {"deactivatedFlag": true}})
(where YYYYYY is the object id of the user record found above).
(note this recipe is only applicable to the case when there’s no Keycloak user; but if there is one, then deactivation from UI should work and deactivate both Domino and Keycloak users, at least starting from 5.1.0 release).
Comments
0 comments
Please sign in to leave a comment.