Issue #713 has been updated by Clément OUDOT.

Status changed from New to Feedback

Hi,

as said in the first comment, the best place to ask question on LSC is not the 
bugtracker but the mailing list: http://lists.lsc-project.org/listinfo/lsc-users

Anyway, here is for example a quick solution to your question:
<pre>
       <dataset>
         <name>manager</name>
         <policy>FORCE</policy>
         <forceValues>
           <string>
           <![CDATA[js:
             var manager = srcBean.getDatasetFirstValueById("manager");
             manager = manager.replace(/uid=/i,"cn=");
             manager = 
manager.replace(/ou=people,dc=example,dc=com/i,"ou=lsc-test,ou=example,dc=com");
             manager;
           ]]>
           </string>
         </forceValues>
</pre>

>From this example, you should be able to adapt the script for your needs.
----------------------------------------
Bug #713: Manager Attribute Sync between Openldap and AD
http://tools.lsc-project.org/issues/713

Author: Baskar Chinnaiah
Status: Feedback
Priority: Normal
Assigned to: 
Category: 
Target version: 
Problem in version: 


Dear,

i'm struggling to sync the manger attribute from openldap and AD. 

E.g Manager attribute value for user1 in LDAP manager : 
uid=manager1,ou=people,dc=example,dc=com

And im trying sync to AD users OU and getting this error, 
(cn=user1,ou=lsc-test,dc=example,dc=com)
InvalidAttributeValueException: [LDAP: error code 19 - 000020B5: AtrErr: 
DSID-03152817, #1:
        0: 000020B5: DSID-03152817, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, 
Att 15000a (manager)

could you please share the sync rule for manager attribute sync between 
Openldap and AD?

Thanks 
Baskar C

 


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