Hi Clement ,

Thanks for the quick reply.
If i have 3 different tasks for user sync,group sync and the user_group
sync, that would work, but that does not satisfy the use-case that i am
aiming for. Is there no way in which I can do the following:

1)sync Groups, fetch its member attr, then for each of the members do an
ldap search in ou=Users and fetch its attributes?
2)I also understand that i will have to make some changes to the SqlMap i
have constructed in this scenario(as it will no longer deal with just 1
table in this case).If there is a way to achieve 1) then what changes do i
make to the SQLMAp?

thanks & regards,

Jijo John



> 2014-10-20 12:00 GMT+02:00 <[email protected]>:
>
>> Hi Clement,
>>
>>
> Hi,
>
> please answer to the list.
>
>
>> thanks for the reply.
>>
>> I am using SqlMap, not iBatis 3 , so i cant use <foreach>...
>> Also , say i iterate over the members in the Group in sqlMap, then how
>> do
>> i fetch each members corresponding attributes from ou=Users and then
>> populate the Users table in SQLDB? could be tell me the changes to be
>> made
>> in the lsc.xml and the GroupOfNames.xml which has my SQL mappers.
>>
>>
>
> You should have on task that populate your user table from ou=Users,;
> another task for creating groups, and then a last task that will read
> groups and members and fill your users_groups table.
>
>
> 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