Issue #597 has been updated by Frédéric POISSON.

Hello,

While looking to file SyncReplSourceService.java is see these lines :
<pre>
362                 case SUN_DS:
363                 case NETSCAPE_DS:
364                 case NOVELL_E_DIRECTORY:
365                     PersistentSearchImpl searchControl = new 
PersistentSearchImpl();
366                     searchControl.setCritical(true);
367                         searchControl.setChangesOnly(true);
368                         searchControl.setReturnECs(false);
369                         
searchControl.setChangeTypes(PersistentSearch.CHANGE_TYPES_MAX);
370                         return searchControl;
</pre>

Or Apache documentation 
https://directory.apache.org/api/gen-docs/latest/apidocs/index.html?org/apache/directory/api/ldap/model/message/controls/PersistentSearchImpl.html
 tell that :
<pre>
031    /**
032     * If changesOnly is TRUE, the server MUST NOT return any existing 
entries
033     * that match the search criteria. Entries are only returned when they 
are
034     * changed (added, modified, deleted, or subject to a modifyDN 
operation).
035     */
</pre>

So i correct the line 367 with :
<pre>searchControl.setChangesOnly(false);</pre>

And it works with my eclipse environment, i will build a new lsc-core-2.1.3.jar 
to check if all is ok after.

Thanks,
Regards,
PS: Is it possible to attach this bug id to next release ?
----------------------------------------
Bug #597: synchrone part for an asynchronous task does not work from SunDS to 
OpenLDAP
http://tools.lsc-project.org/issues/597

Author: David Coutadeur
Status: New
Priority: Normal
Assigned to: 
Category: Core
Target version: Not planned
Problem in version: 


An asynchronous service defined as :

<asyncLdapSourceService>
[...]
 <serverType>SunDS</serverType>
</asyncLdapSourceService>

does not synchronize anything in the initial phase. But when the LSC is 
launched, a "on-the-fly" modification in the source generates an appropriate 
modification in the destination.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to