By: Hamdi Bahrini user 14 Sep 2020 at 8:56 p.m. CDT

1 Response
Hamdi Bahrini gravatar
Hello community, I added a [custom attribute](https://gluu.org/docs/gluu-server/3.1.6/admin-guide/attribute/#add-the-attribute-to-ldap) to OpenDJ and I want to synchronize it with an existing attribute (already in OpenDJ). How can I do it ? Thank you in advance

By Michael Schwartz Account Admin 20 Sep 2020 at 2:27 p.m. CDT

Michael Schwartz gravatar
Perhaps in a person authentication script, when the person logs in, read the attribute from LDAP, and write it to the other attribute. So it would be "just in time". There are many sample interception scripts here: https://github.com/GluuFederation/oxAuth/tree/master/Server/integrations and you can read the docs https://gluu.org/docs/gluu-server/4.2/admin-guide/custom-script/