webmaster
2014-03-03 14:43:05 UTC
A page in your DokuWiki was added or changed. Here are the details:
Date : 2014/03/03 15:43
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
IP-Address : 88.173.78.196
Hostname : mne69-10-88-173-78-196.fbx.proxad.net
Old Revision: http://lsc-project.org/wiki/documentation/plugins/executable?rev=1393856788
New Revision: http://lsc-project.org/wiki/documentation/plugins/executable
Edit Summary:
User : coudot
@@ -23,6 +23,55 @@
There are two different destination connectors:
* Executable LDAP destination service: LIST and GET operations are done with LDAP destination service
* Executable LDIF destination service: LIST and GET operations are done by scripts, like the one use in Executable LDIF source service
+
+ ===== Configuration =====
+
+ ==== XML namespace ====
+
+ You need to adapt the namespace of the main markup to import 'exec' namespace:
+
+ <file xml>
+ <?xml version="1.0" ?>
+ <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.0.xsd" xmlns:exec="http://lsc-project.org/XSD/lsc-executable-plugin-1.0" revision="0">
+ ...
+ </lsc>
+ </file>
+
+ ==== Connection ====
+
+ You need to define a fake connection for the plugin:
+
+ <file xml>
+ <pluginConnection>
+ <name>executable</name>
+ <url>fake</url>
+ <username>fake</username>
+ <password>fake</password>
+ </pluginConnection>
+ </file>
+
+ ==== Executable LDIF Source Service ====
+
+ ==== Executable LDAP Destination Service ====
+
+ ==== Executable LDIF Destination Service ====
+
+
+ ===== Plugin loading =====
+
+ To load the plugin into LSC, you need to modify JAVA_OPTS:
+ <code>
+ JAVA_OPTS="-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.executable.generated"
+ </code>
+
+ For example, to run a user synchronization:
+ <code>
+ JAVA_OPTS="-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.executable.generated" /usr/bin/lsc -f /etc/lsc/executable/ -s user -t1
+ </code>
+
+ <note tip>The use of -t1 limits LSC to one thread.</note>
+
+ ===== Scripts =====
Date : 2014/03/03 15:43
Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
IP-Address : 88.173.78.196
Hostname : mne69-10-88-173-78-196.fbx.proxad.net
Old Revision: http://lsc-project.org/wiki/documentation/plugins/executable?rev=1393856788
New Revision: http://lsc-project.org/wiki/documentation/plugins/executable
Edit Summary:
User : coudot
@@ -23,6 +23,55 @@
There are two different destination connectors:
* Executable LDAP destination service: LIST and GET operations are done with LDAP destination service
* Executable LDIF destination service: LIST and GET operations are done by scripts, like the one use in Executable LDIF source service
+
+ ===== Configuration =====
+
+ ==== XML namespace ====
+
+ You need to adapt the namespace of the main markup to import 'exec' namespace:
+
+ <file xml>
+ <?xml version="1.0" ?>
+ <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.0.xsd" xmlns:exec="http://lsc-project.org/XSD/lsc-executable-plugin-1.0" revision="0">
+ ...
+ </lsc>
+ </file>
+
+ ==== Connection ====
+
+ You need to define a fake connection for the plugin:
+
+ <file xml>
+ <pluginConnection>
+ <name>executable</name>
+ <url>fake</url>
+ <username>fake</username>
+ <password>fake</password>
+ </pluginConnection>
+ </file>
+
+ ==== Executable LDIF Source Service ====
+
+ ==== Executable LDAP Destination Service ====
+
+ ==== Executable LDIF Destination Service ====
+
+
+ ===== Plugin loading =====
+
+ To load the plugin into LSC, you need to modify JAVA_OPTS:
+ <code>
+ JAVA_OPTS="-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.executable.generated"
+ </code>
+
+ For example, to run a user synchronization:
+ <code>
+ JAVA_OPTS="-DLSC.PLUGINS.PACKAGEPATH=org.lsc.plugins.connectors.executable.generated" /usr/bin/lsc -f /etc/lsc/executable/ -s user -t1
+ </code>
+
+ <note tip>The use of -t1 limits LSC to one thread.</note>
+
+ ===== Scripts =====
--
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/