OpenIDM – OpenDJ – One way Password Sync –

This topic has 3 replies, 3 voices, and was last updated 6 years, 2 months ago by [email protected].

  • Author
    Posts
  • #4700
     sr
    Participant

    Hi,

    I have configured one-way sync between OpenIDM & OpenDJ, i.e. users created in OpenIDM are pushed to OpenDJ.
    However, I am able to reconcile users successfully when i do not push password from OpenIDM to OpenDJ.
    But when I include password field, I get the errror as Target does not support attribute userPassword.

    Let me know if I am missing something or any pointers to resolve this would be helpful.

    Below are the excerpts from my config files –

    provisioner.openicf-opendjldap.json

    under account objectType , password field is defined as

    “userPassword” : {
    “type” : “string”,
    “nativeName” : “userPassword”,
    “nativeType” : “string”,
    “flags” : [
    “NOT_READABLE”,
    “NOT_RETURNED_BY_DEFAULT”
    ]
    }

    sync.json
    for mapping managedUser_sourceOpendjAccount
    mapping for password field is defined as
    {
    “target” : “userPassword”,
    “source” : “password”,
    “condition” : {
    “type” : “text/javascript”,
    “source” : “object.password != null”
    },
    “transform” : {
    “type” : “text/javascript”,
    “source” : “openidm.decrypt(source);”
    }
    }

    #4713
     laurent.bristiel
    Participant

    Hi,

    This configuration is used in our Sample2b from install guide and works well. Did you try sample2b?

    Laurent

    #4741
     sr
    Participant

    Hi Laurent,

    Yes, I have tried sample2b and taken the leads from there itself to configure the mappings for OpenIDM-OpenDJ sync. But it’s not working and giving the error as –
    Target does not support attribute userPassword

    #11798

    Hi,

    While configuring the connector, did you select LDAP DJ as the LDAP type? Also check in object types if you have userPassword as an attribute.

    Ashwini

Viewing 4 posts - 1 through 4 (of 4 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?