Hi Clement,


Can you please help me understand how the group members are defined at the 
source in below link? uniqueMember at the souce will be like user1,user2,user3 
or they will be like user1 in 1st row, user2 in 2nd row, user3 in 3rd row? If 
it is the first case, where is the specification for separator (,) ? How 
membersSrcDn will get each member at a time?



<forceValues>

           <string>

           <![CDATA[rjs:

                var membersSrcDn = srcBean.getDatasetValuesById("uniqueMember");

                var membersDstDn = [];

                for  (var i=0; i<membersSrcDn.size(); i++) {

                        var memberSrcDn = membersSrcDn.get(i);



-Hardik



-----Original Message-----
From: Clément OUDOT [mailto:[email protected]]
Sent: 21 January 2015 18:09
To: Hardik V Shah
Cc: lsc-userslsc-users
Subject: Re: [lsc-users] user add/remove to group in AD



2015-01-21 13:32 GMT+01:00  
<[email protected]<mailto:[email protected]>>:

> Hi,

>

>

>

> I have configured 2 LSC connector which sync data from Mysql to AD as below.

>

>

>

> Connector 1: User sync from Mysql to AD

>

> Connector2: Group sync from Mysql to AD

>

>

>

> Now I want to configure 3rd connector which can sync Mysql data for

> user memberships to group. Adding/Removing the user to the groups in

> AD. Is it possible? Any idea?

>





Should be.



You need to have the list of group members as an array to be able to put them 
into member attribute in AD group entry. See also 
http://lsc-project.org/wiki/documentation/tutorial/synchronizegroups





Clément.
"Confidentiality Warning: This message and any attachments are intended only 
for the use of the intended recipient(s). 
are confidential and may be privileged. If you are not the intended recipient. 
you are hereby notified that any 
review. re-transmission. conversion to hard copy. copying. circulation or other 
use of this message and any attachments is 
strictly prohibited. If you are not the intended recipient. please notify the 
sender immediately by return email. 
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure 
no viruses are present in this email. 
The company cannot accept responsibility for any loss or damage arising from 
the use of this email or attachment."
_______________________________________________________________
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