Le 30/09/2016 à 15:12, Roberto Benedetti a écrit :

hi all,
   as many others claim they have done, I wish my LSC instance to trigger a different 
action when a delete operation needs to be performed: I wish to deactivate an account 
rather then removing it from the DIT (for example, I could set a flag (a boolean 
attribute) in the LDAP record or just move/rename it into the 
"deactivated-users" LDAP branch).

I am using a RDBMS as the source and an OpenLDAP instance as the destination.
insert and update operations just act the way I wish so I just need to 
intervene on the delete operation.

online docs and mailing-list archives provide hints or pieces of information 
that work for well-performing minds __but__ apparently (or obviously?) are not 
enough for me.
could you please provide a complete/working example on how to configure LSC?


Hello Roberto,

I don't have a full example, but you should use the shell wrappers and adapt only the delete.sh script : http://lsc-project.org/wiki/documentation/plugins/executable/bash_ldapclient

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to