Hi, 

 Thx for the update.....

 Post modification getting followingerrors 

 Apr 14 23:48:21 - DEBUG - In 
object"cn=test11,ou=Groups,dc=server,dc=test,dc=com":  Attribute"dn" will not 
be written to the destination

Apr 14 23:48:21 - DEBUG - In 
object"cn=test11,ou=Groups,dc=server,dc=test,dc=com":  Attribute"uniqueMember" 
is in FORCE status

Apr 14 23:48:21 - DEBUG - In 
object"cn=test11,ou=Groups,dc=server,dc=test,dc=com":  Attribute"uniqueMember" 
will not be written to the destination

Apr 14 23:48:21 - ERROR - Error while addingentry 
cn=test11,ou=Groups,dc=server,dc=test,dc=com in 
directory:javax.naming.directory.SchemaViolationException: [LDAP: error code 65 
- objectclass 'groupOfNames' requires attribute 'uniqueMember']; remaining 
name'cn=test11,ou=Groups'

Apr 14 23:48:21 - ERROR - Error whilesynchronizing ID 
cn=test11,ou=Groups,dc=server,dc=test,dc=com:java.lang.Exception: Technical 
problem while applying modifications to thedestination

Apr 14 23:48:21 - DEBUG - java.lang.Exception:Technical problem while applying 
modifications to the destination

java.lang.Exception: Technical problem whileapplying modifications to the 
destination

            atorg.lsc.SynchronizeTask.run(AbstractSynchronize.java:801) 
[lsc-core-2.1.2.jar:na]

            
atorg.lsc.SynchronizeTask.run(AbstractSynchronize.java:707)[lsc-core-2.1.2.jar:na]

            
atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.6.0_22]

            
atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.6.0_22]

            atjava.lang.Thread.run(Thread.java:679) [na:1.6.0_22]

# Tue Apr 14 23:48:21 IST 2015

dn: cn=test11,ou=Groups,dc=server,dc=test,dc=com

changetype: add

cn: test11

objectClass: groupOfNames

objectClass: top

 Please see while adding in LDAP its notcarrying uniqueMember attribute.

 Here is the lsc.xml again

<string>

                                <![CDATA[rjs:

                varmembersSrcDn = srcBean.getDatasetValuesById("member");

                                varmembersDstDn = new java.util.ArrayList();

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

                    var memberSrcDn = membersSrcDn.get(i);

                    var sAMAccountName = "";

                    try {

                        sAMAccountName = 
srcLdap.attribute(memberSrcDn,"sAMAccountName").get(0);

                       } catch(e) {

                           continue;

                       }

                    var destDn = ldap.search("ou=test", "(uid=" +sAMAccountName 
+ ")");

                    if (destDn.size() == 0 || destDn.size() > 1) {

                             continue;

                     }

                    var destMemberDn = destDn.get(0) + "," + 
ldap.getContextDn();

                    membersDstDn.add(destMemberDn);

                }

               membersDstDn

           ]]>

          </string>

 



     On Monday, April 13, 2015 10:46 AM, Clément OUDOT <[email protected]> 
wrote:
   

 2015-04-10 20:42 GMT+02:00 Sharad Mathur <[email protected]>:
> Getting following error
>
> Apr 11 00:05:42 - ERROR - Error while modifying entry
> cn=test11,ou=Groups,dc=server,dc=test,dc=com in directory
> :javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21
> - member: value #0 invalid per syntax]; remaining name 'cn=test11,ou=Groups'
> Apr 11 00:05:42 - ERROR - Error while synchronizing ID
> cn=test11,ou=Groups,dc=server,dc=test,dc=com: java.lang.Exception: Technical
> problem while applying modifications to the destination
> Apr 11 00:05:42 - DEBUG - java.lang.Exception: Technical problem while
> applying modifications to the destination
> java.lang.Exception: Technical problem while applying modifications to the
> destination
> at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:801)
> [lsc-core-2.1.2.jar:na]
> at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:707)
> [lsc-core-2.1.2.jar:na]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [na:1.6.0_22]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [na:1.6.0_22]
> at java.lang.Thread.run(Thread.java:679) [na:1.6.0_22]
> # Sat Apr 11 00:05:42 IST 2015
> dn: cn=test11,ou=Groups,dc=server,dc=test,dc=com
> changetype: modify
> replace: member
> member: sun.org.mozilla.javascript.NativeArray@8eae04
>


Hi,

see this message:
http://lists.lsc-project.org/pipermail/lsc-users/2015-February/002432.html


It seems there is a problem with Rhino and java 8.


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