hello, Clement. thanks for your patience.

my problem is not with the script that must be called but with the 
configuration to achieve that goal (the lsc.xml file, not the delete.sh script).

I'm testing the executable plugin with the enclosed lsc.xml configuration file 
and I am stuck with this error[1].
please notice that
- removing/commenting out the "BBDeactivateUsers" task, the LDAP server is 
properly synced;
- uncommenting that task I get the error even if running the other task 
("AASyncUsers") so I suspect I just misconfigured LSC.


I'm trying to sync an LDAP (destination) with data retrieved from an RDBMS 
(source).
to simplify the process, I made use of an SQLite database. I think my example 
is good enough since I get the very same error obtained against an Oracle 
database.


could you please tell me what I'm doing wrong or provide a working lsc.xml 
example?

thanks in advance,
  roberto benedetti




[1]
-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=
Oct 12 14:20:11 - ERROR - org.lsc.exception.LscConfigurationException: 
Configuration exception: Unable to identify the executable LDAP destination 
service configuration inside the plugin destination node of the task: 
BBDeactivateUsers
Oct 12 14:20:11 - DEBUG - org.lsc.exception.LscConfigurationException: 
Configuration exception: Unable to identify the executable LDAP destination 
service configuration inside the plugin destination node of the task: 
BBDeactivateUsers
org.lsc.exception.LscConfigurationException: Configuration exception: Unable to 
identify the executable LDAP destination service configuration inside the 
plugin destination node of the task: BBDeactivateUsers
        at org.lsc.Task.<init>(Task.java:148) ~[lsc-core-2.1.3.jar:na]
        at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:104) 
~[lsc-core-2.1.3.jar:na]
        at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:154) 
~[lsc-core-2.1.3.jar:na]
        at org.lsc.Launcher.run(Launcher.java:223) [lsc-core-2.1.3.jar:na]
        at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-2.1.3.jar:na]
        at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-2.1.3.jar:na]
Caused by: org.lsc.exception.LscServiceConfigurationException: Unable to 
identify the executable LDAP destination service configuration inside the 
plugin destination node of the task: BBDeactivateUsers
        at 
org.lsc.plugins.connectors.executable.ExecutableLdapDestinationService.<init>(ExecutableLdapDestinationService.java:114)
 ~[lsc-executable-plugin-1.0.jar:na]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method) ~[na:1.8.0_60]
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 ~[na:1.8.0_60]
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 ~[na:1.8.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422) 
~[na:1.8.0_60]
        at org.lsc.Task.<init>(Task.java:117) ~[lsc-core-2.1.3.jar:na]
        ... 5 common frames omitted
-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=-~=


----- Original Message -----
> 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
> lsc-users@lists.lsc-project.org
> http://lists.lsc-project.org/listinfo/lsc-users
> 

Attachment: lsc.xml
Description: XML document

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

lsc-users mailing list
lsc-users@lists.lsc-project.org
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to