Friday, May 24, 2024

[389-users] Automatically delete "linked" objects

Hi,

I am looking for a way to automatically delete certain objects when I
delete a user object. For example:
* I have a user uid=user1,ou=users,dc=test,dc=tld
* I have a role cn=xyz,ou=roles,dc=test,dc=tld
* This role has the following atribute:
roleOccupant: uid=user1,ou=users,dc=test,dc=tld

I would like to delete the cn=xyz-object automatically when the
uid=user1-object is deleted. Is there a way to do this server side, or
do I have to implement it client side?

Thanks
Julian

No comments:

Post a Comment