Discussion:
[lsc-changes] [Ldap Synchronization...] page changed: documentation:plugins:executable:howto_scripts
webmaster
2014-03-04 09:01:14 UTC
Permalink
A page in your DokuWiki was added or changed. Here are the details:

Date : 2014/03/04 10:01
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/howto_scripts?rev=1393862493
New Revision: http://lsc-project.org/wiki/documentation/plugins/executable/howto_scripts
Edit Summary:
User : coudot

@@ -60,4 +60,32 @@
attribute1: aaa
attribute2: abc
attribute3: def
</file>
+
+ ==== ADD ====
+
+ LSC will send on STDIN the LDIF of an entry to add, with changetype ''add'':
+ <file:ldif>
+ dn: DN
+ changetype: add
+ attribute1: aaa
+ attribute2: abc
+ attribute3: def
+ </file>
+
+ Nothing is expected from the script on STDOUT.
+
+ ==== UPDATE ====
+
+ LSC will send on STDIN the LDIF of an entry to modify, with changetype ''modify'':
+ <file:ldif>
+ dn: DN
+ changetype: modify
+ replace: attribute1
+ attribute1: aaa
+ -
+ add: attribute2
+ attribute2: abc
+ </file>
+
+ Nothing is expected from the script on STDOUT.
--
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/
webmaster
2014-03-04 09:55:55 UTC
Permalink
A page in your DokuWiki was added or changed. Here are the details:

Date : 2014/03/04 10:55
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/howto_scripts?rev=1393923674
New Revision: http://lsc-project.org/wiki/documentation/plugins/executable/howto_scripts
Edit Summary:
User : coudot

@@ -88,4 +88,28 @@
attribute2: abc
</file>

Nothing is expected from the script on STDOUT.
+
+ ==== REMOVE ====
+
+ LSC will send on STDIN the LDIF of an entry to delete, with changetype ''delete'':
+ <file:ldif>
+ dn: DN
+ changetype: delete
+ </file>
+
+ Nothing is expected from the script on STDOUT.
+
+ ==== RENAME ====
+
+ LSC will send on STDIN the LDIF of an entry to rename, with changetype ''modrdn'':
+ <file:ldif>
+ dn: DN
+ changetype: modrdn
+ newrdn: attribute1=aaa
+ deleteoldrdn: 1
+ newsuperior: BRANCH
+ </file>
+
+ Nothing is expected from the script on STDOUT.
+
--
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/
webmaster
2014-03-04 10:26:59 UTC
Permalink
A page in your DokuWiki was added or changed. Here are the details:

Date : 2014/03/04 11:26
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/howto_scripts?rev=1393926955
New Revision: http://lsc-project.org/wiki/documentation/plugins/executable/howto_scripts
Edit Summary:
User : coudot

@@ -60,8 +60,10 @@
attribute1: aaa
attribute2: abc
attribute3: def
</file>
+
+ The script is called with the destination main identifier as argument.

==== ADD ====

LSC will send on STDIN the LDIF of an entry to add, with changetype ''add'':
@@ -73,8 +75,10 @@
attribute3: def
</file>

Nothing is expected from the script on STDOUT.
+
+ The script is called with the destination main identifier as argument.

==== UPDATE ====

LSC will send on STDIN the LDIF of an entry to modify, with changetype ''modify'':
@@ -88,8 +92,10 @@
attribute2: abc
</file>

Nothing is expected from the script on STDOUT.
+
+ The script is called with the destination main identifier as argument.

==== REMOVE ====

LSC will send on STDIN the LDIF of an entry to delete, with changetype ''delete'':
@@ -98,8 +104,10 @@
changetype: delete
</file>

Nothing is expected from the script on STDOUT.
+
+ The script is called with the destination main identifier as argument.

==== RENAME ====

LSC will send on STDIN the LDIF of an entry to rename, with changetype ''modrdn'':
@@ -112,4 +120,5 @@
</file>

Nothing is expected from the script on STDOUT.

+ The script is called with the destination main identifier as argument.
--
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/
Loading...