September 15, 2020 at 11:03 pm #28280aortizParticipant
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 GatewaySeptember 16, 2020 at 3:47 pm #28284
The value of
entryuuidis generated by
Entry UUID Pluginat the directory prior to core add processing. So this value will not be available to
rest2ldapgateway 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
rest2ldapgateway.September 16, 2020 at 4:50 pm #28286
The above suggestion implies there’s an LDAP lookup involved to check if
UIDexists. The other suggestion would be to write a plugin similar to
Entry UUID Pluginbut that’s going a bit extereme when this can be handled on the client side entirely.October 21, 2020 at 4:03 am #28325sireeshanpParticipant
Similar issue I have, I need to auto generate username while using AM userRegistration API to create user objects into DS. Is there any solution within AM that can auto generate username (Which is mapped to uid in the identity store) after calling the userRegistation API?October 23, 2020 at 11:53 pm #28332
@sireeshanp I can see the case for such
uidauto generation. AFAIK, AM’s User Self-Service Registration doesn’t have this feature OOB.November 13, 2020 at 11:24 am #28363Andy CoryParticipant
We’ve had this use-case come up (autogeneration of UID using AM’s USS registration) a couple of times. In each case the path of least resistance was to have the client code generate the UID. Because the customer was using their own UI to drive the flow using AM’s REST API this was easy in that there was actually client code in place – solving this for those who use XUI isn’t something we have yet faced, happily.
You must be logged in to reply to this topic.