How to create a Cross Reference for an object in eDirectory
I did something like this some time ago. We needed to link users to departments and we needed it to point both ways, i.e. if a user points to a department then the department should automatically get a…
So on you object in deletion.users.data, add attribute with DN syntax, and specify a value that points at the object in users.data.
You create or use a dn attribute.
Look at the member attribute on the group and group membership attribute on the user and do the same.
If that is what you mean with cross reference.
If i add a member in a group, the group object will be updated using member attribute and parrelely the user object will be updated with group membership attribute.
So there is a reference in both user n group object.
So my question is - how can we do the same for two custom attributes in two different objects (like usr and group)
Thanks for all your support.
I got your point.
you are asking me to update both the objcts togther - Am I right ?
My ask is different. Like if a user is added to a group, member attribute is updatd and in the user object group membership is also updated.
So we are not updating the user object manaually.
Looks like there is some link at the back end.
Like wise is it possible for me to do in my scenario. To be more clear,
if that object under deletion.user.data is deleted - the refrence should alos be deleted as how if we remove a member from a group works.
Ok, so you want to manage reciprical attributes automatically.
This is in an IDM group, so if you ware in the Pub channel, and you modify one of a reciprical pair then the engine will try to add the reciprical attribute.
You define this in a Recipricol Attrbute map. Make sure you add in the defaults, since with no map specified you get Group/User stuff, and a couple of others but if you specify just a single value, you ONLY get the values you specify.