Use EntryUUID as UID in User Creation

Tagged: ,

This topic has 2 replies, 2 voices, and was last updated 1 week ago by Jatinder Singh (AcceptingNewProjects).

  • Author
  • #28280

    Hi Everyone. Today’s inquire is very simple, is there any way to map EntryUUID to UID attribute when i create the user through Rest2Ldap?
    The goal here is to create users using an autogenerated alphanumeric value.
    And in case it is not possible, is there any way to generate a random alphanumeric value in the creation to use as UID?

    My Environment is DS 6.5 using Rest2Ldap Gateway


    The value of entryuuid is generated by Entry UUID Plugin at the directory prior to core add processing. So this value will not be available to rest2ldap gateway at the time CREATE request is actually sent to DS. And I am not sure if UID auto-generation is supported out-of-the-box in the gateway. One suggestion is to have the value of UID auto-generated in your client code before the request is actually sent to rest2ldap gateway.


    The above suggestion implies there’s an LDAP lookup involved to check if UID exists. The other suggestion would be to write a plugin similar to Entry UUID Plugin but that’s going a bit extereme when this can be handled on the client side entirely.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2020 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?