...and the answer is yes you can inject additional lines in the ldif input stream via an external updatescript (e.g. using the executableLdapDestinationServiceSettings) you need to be careful with the handling of spaces and new lines though.
Nikos On Wed, Aug 29, 2018 at 8:17 PM Nikos Voutsinas <[email protected]> wrote: > Hello everybody, > > Would it possible to inject additional lines into the ldif input stream of > an updateScript and thus change the final modify operation ? > > For instance if the input stream of the update.sh is the following : > dn: attr1=xxxxxx > changetype: modify > replace: attr2 > attr2: value > - > > The intention is to modify the external script and inject into the > previous STDIN an additional attribute replacement, that can not be > implemented by other means within lsc. E.g. I would like to alter the input > ldif stream into the following: > > dn: attr1=xxxxxx > changetype: modify > replace: attr2 > attr2: value > - > replace: attr3 > attr3: customvalue > - > > Best Regards, > Nikos > >
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

