Thank you all.
A last question.

To flush privileges I was thinking about

*syncHook*: fully qualified name of a static method to invoke after the
synchronization task

Should I put in the classpath a jar with a custom class where I have to
define a sendFlushPrivileges() that open an ssh session to the mysql server
and instruct a "FLUSH PRIVILEGES"? And then add to my task

<synchHook>org.mynamespace.Myclass.sendFlushPrivileges()</syncHook>

In your opinion Is it feasible?

However before doing this I will check the iBatis documentation

On Thu, Jan 17, 2013 at 7:42 PM, Clément OUDOT <[email protected]> wrote:

>
>
> 2013/1/17 <[email protected]>
>
>
>> LSC rightfully assumes that your pivot attributes can be used for
>> comparison without manipulation.  Another suggestion would be to reverse
>> the work around.  If you're concerned about manipulating your database then
>> add the truncated full name as an attribute in your directory.  You're
>> still going to run in to the issue where your pivot attribute(s) must
>> identify a unique record.  You must choose an attribute or combination of
>> attributes that will uniquely identify a record in both places and use
>> those as your pivot attributes.  This is a fundamental requirement for
>> synchronization regardless of the tool.  You are going to run in to all
>> kinds of trouble if you can't find something else to replace or augment
>> your pivot attribute(s).
>>
>>
> I confirm that pivot attributes can not be manipulated before comparaison.
>
>
> For the FLUSH PRIVILEGES command, you might want to dig into iBatis
> documentation to see if it is possible.
>
>  Clément.
>
_______________________________________________________________
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