Adding Security Questions error “:Identity my.user of type user not fou

This topic has 0 replies, 1 voice, and was last updated 4 years, 8 months ago by Saeed.

  • Author
    Posts
  • #20651
     Saeed
    Participant

    Hi,
    I’m developing an environment with Active Directory as a Datastore. I Installed AM 5.5.1 and selected embedded configuration and identity repos. Then I created a realm and add my AD to the realm as the Datastore and then remove the embedded one. OpenAM was able to update my AD schema and I can see all users and groups. (both sAMAccountName and uid are set for users). I can login into user’s account in that realm and update profile and password.
    I then enabled self-service and security questions but I can’t add any question to any of the user (for example my.user). The web says “not found.” And here is the log from the debug.out

    amIdm:01/22/2018 11:09:17:890 AM EST: Thread[http-bio-10.168.10.70-8443-exec-10,5,main]: TransactionId[d707cf97-124b-4fd0-b8cb-aa9a13d2d640-1632468]
    WARNING: IdServicesImpl.getMemberships: Unable to get members for identity user::my.user in any configured data store
    amIdm:01/22/2018 11:09:17:903 AM EST: Thread[http-bio-10.168.10.70-8443-exec-10,5,main]: TransactionId[d707cf97-124b-4fd0-b8cb-aa9a13d2d640-1632468]
    WARNING: IdServicesImpl.getMemberships: Unable to read identity in the following repository org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo
    Message:Identity my.user of type user not found.

    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2386)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2330)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getMemberships(DJLDAPv3Repo.java:1477)
    at com.sun.identity.idm.server.IdServicesImpl.getMemberships(IdServicesImpl.java:953)
    at com.sun.identity.idm.AMIdentity.getMemberships(AMIdentity.java:1184)
    ….
    ….
    amIdm:01/22/2018 11:09:17:905 AM EST: Thread[http-bio-10.168.10.70-8443-exec-10,5,main]: TransactionId[d707cf97-124b-4fd0-b8cb-aa9a13d2d640-1632468]
    WARNING: IdServicesImpl.getMemberships: Unable to get members for identity user::my.user in any configured data store
    Message:Identity my.user of type user not found.

    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2386)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2330)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getMemberships(DJLDAPv3Repo.java:1477)
    at com.sun.identity.idm.server.IdServicesImpl.getMemberships(IdServicesImpl.java:953)
    at com.sun.identity.idm.AMIdentity.getMemberships(AMIdentity.java:1184)
    ….
    ….
    amIdentityServices:01/22/2018 11:09:17:905 AM EST: Thread[http-bio-10.168.10.70-8443-exec-10,5,main]: TransactionId[d707cf97-124b-4fd0-b8cb-aa9a13d2d640-1632468]
    ERROR: IdentityServicesImpl:read
    Message:Identity my.user of type user not found.

    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2386)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getDN(DJLDAPv3Repo.java:2330)
    at org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo.getMemberships(DJLDAPv3Repo.java:1477)
    at com.sun.identity.idm.server.IdServicesImpl.getMemberships(IdServicesImpl.java:953)
    at com.sun.identity.idm.AMIdentity.getMemberships(AMIdentity.java:1184)
    ….
    ….
    frRest:01/22/2018 11:09:17:906 AM EST: Thread[http-bio-10.168.10.70-8443-exec-10,5,main]: TransactionId[d707cf97-124b-4fd0-b8cb-aa9a13d2d640-1632468]
    ERROR: IdentityResourceV3.patchInstance cannot find resource my.user
    com.sun.identity.idsvcs.ObjectNotFound: Identity my.user of type user not found.
    at org.forgerock.openam.errors.IdentityServicesException.getIdentityServiceException(IdentityServicesException.java:47)
    at org.forgerock.openam.errors.IdentityServicesExceptionMappingHandler.handleError(IdentityServicesExceptionMappingHandler.java:61)
    at org.forgerock.openam.errors.IdentityServicesExceptionMappingHandler.handleError(IdentityServicesExceptionMappingHandler.java:18)
    at com.sun.identity.idsvcs.opensso.IdentityServicesImpl.mapIdRepoException(IdentityServicesImpl.java:920)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?