Issue #50 has been updated by Jonathan Clarke.

Category set to Core
Status changed from New to Feedback

Clément Oudot wrote:
> It would be nice to put several values for 
> lsc.tasks.inetOrgPerson.dstService.baseDn? LSC would do a search for each 
> value, so we can manage several branches.

I don't see how this could be implemented in LSC currently...

Briefly, this is why:
* Source/Destination connectors implement two methods : getListPivots() and 
getBean():
** getListPivots() returns a list of results, indicating for each one the value 
of all pivot attributes (eg, uid and mail)
** getBean() takes one set of pivots and returns a Java object containing all 
information for that entry
* The JNDI connectors implements these as follows:
** getListPivots() does a search on the dstService.baseDn to get all entries 
matching dstService.filterAll (eg, "(&(uid=*)(mail=*))". (This could easily be 
extended to do as many searches as there are search bases in 
dstService.baseDn...)
** getBean() does a search on the dstService.baseDn to get one entrie using 
dstService.filterId completed with the pivot values... So this is where the 
problem lies: which baseDn to search on?

Any ideas are welcome!
----------------------------------------
Feature #50: Manage several basedn to synchronize several branches
http://tools.lsc-project.org/issues/50

Author: Clément Oudot
Status: Feedback
Priority: Normal
Assigned to: 
Category: Core
Target version: 


Imagine you have this DIT a source directory for LSC:

<pre>
- dc=example,dc=com
  - ou=organization
    - ou=admins
    - ou=archives
    - ou=users
</pre>

And you don't want to synchronize the ou=archives branch.

It would be nice to put several values for 
lsc.tasks.inetOrgPerson.dstService.baseDn? LSC would do a search for each 
value, so we can manage several branches.


-- 
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