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 #28284Jatinder Singh (AcceptingNewProjects)Participant
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 #28286Jatinder Singh (AcceptingNewProjects)Participant
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.
You must be logged in to reply to this topic.