Hello Everyone, I'm hoping someone can help me out here. I'm trying to Sync users from one ldap to another. and I keep getting this error. or my life I can't figure out where to fix the issue. I'll include the logfile and the lsc.xml.
Thank You for any help. Bob 1190 [main] INFO org.lsc.Configuration - Logging configuration successfully loaded from /home/test/lsc-2.1.3/test/hsqldb/bin/../etc/logback.xml 1193 [main] INFO org.lsc.Configuration - LSC configuration successfully loaded from /home/czipo/lsc-2.1.3/test/hsqldb/bin/../etc/ 1236 [main] INFO org.lsc.jndi.JndiServices - Connecting to LDAP server ldap://ldapdest.testsa.org:389/ou=People,dc=testsa,dc=org as cn=Directory Manager 1258 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 1259 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 1259 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 1260 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 1260 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 1261 [main] INFO o.a.d.a.l.c.o.DefaultLdapCodecService - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 1261 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1 1262 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.7 1262 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.2 1262 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.2.840.113556.1.4.319 1262 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 2.16.840.1.113730.3.4.3 1265 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1 1265 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.42.2.27.8.5.1 1266 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.3 1266 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.4 1267 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.1 1267 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.2 1268 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.2.840.113556.1.4.473 1268 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.2.840.113556.1.4.474 1268 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled control factory: 1.2.840.113556.1.4.841 1270 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.1.8 1271 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.8 1272 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.3 1273 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.6 1277 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5 1279 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1 1280 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3 1281 [main] INFO o.a.d.a.l.c.s.CodecFactoryUtil - Registered pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037 1287 [main] INFO org.lsc.jndi.JndiServices - Connecting to LDAP server ldap://srcldap01.testsa.org:389/ou=People,dc=testsa,dc=org as cn=Directory Manager 1294 [main] INFO lsc.destination - Starting sync for MySyncTask 1297 [main] ERROR org.lsc.AbstractSynchronize - Error getting list of IDs in the source for task MySyncTask 1302 [main] DEBUG org.lsc.AbstractSynchronize - java.lang.IllegalStateException: BER encode error: Unbalanced SEQUENCEs. java.lang.IllegalStateException: BER encode error: Unbalanced SEQUENCEs. at com.sun.jndi.ldap.BerEncoder.endSeq(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.ldap.LdapClient.search(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source) ~[na:1.6.0_17] at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source) ~[na:1.6.0_17] at javax.naming.directory.InitialDirContext.search(Unknown Source) ~[na:1.6.0_17] at org.lsc.jndi.JndiServices.doGetAttrsList(JndiServices.java:1134) ~[lsc-core-2.1.3.jar:na] at org.lsc.jndi.JndiServices.getAttrsList(JndiServices.java:1066) ~[lsc-core-2.1.3.jar:na] at org.lsc.jndi.SimpleJndiSrcService.getListPivots(SimpleJndiSrcService.java:176) ~[lsc-core-2.1.3.jar:na] at org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:303) ~[lsc-core-2.1.3.jar:na] at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:232) [lsc-core-2.1.3.jar:na] at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:166) [lsc-core-2.1.3.jar:na] at org.lsc.Launcher.run(Launcher.java:223) [lsc-core-2.1.3.jar:na] at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-2.1.3.jar:na] at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-2.1.3.jar:na] 1302 [main] INFO lsc.destination - Starting clean for MySyncTask 1336 [main] INFO lsc.destination - # Removing object cn=bob.test,ou=Secure,ou=MIS,ou=People,dc=unffa,dc=org for MySyncTask 1336 [main] INFO lsc.destination - 1336 [main] INFO org.lsc.AbstractSynchronize - All entries: 1, to modify entries: 1, successfully modified entries: 1, errors: 0 LSC.XML <?xml version="1.0" ?> <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.1.xsd" revision="0"> <connections> <ldapConnection> <name>src-ldap</name> <url>ldap://srcldap01.testsa.org:389/ou=People,dc=testsa,dc=org</url> <username>cn=Directory Manager</username> <password>password</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <pageSize>-1</pageSize> <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> <tlsActivated>false</tlsActivated> <saslMutualAuthentication>false</saslMutualAuthentication> </ldapConnection> <ldapConnection> <name>dst-ldap</name> <url>ldap://ldapdest.testsa.org:389/ou=People,dc=testsa,dc=org</url> <username>cn=Directory Manager</username> <password>password</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <pageSize>-1</pageSize> <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> <tlsActivated>false</tlsActivated> <saslMutualAuthentication>false</saslMutualAuthentication> </ldapConnection> </connections> <audits/> <tasks> <task> <name>MySyncTask</name> <bean>org.lsc.beans.SimpleBean</bean> <ldapSourceService> <name>MySyncTask-src</name> <connection reference="src-ldap"/> <baseDn>ou=People,dc=testsa,dc=org</baseDn> <pivotAttributes> <string>mail</string> </pivotAttributes> <fetchedAttributes> <string>cn</string> <string>sn</string> <string>objectClass</string> <string>uid</string> <string>mail</string> </fetchedAttributes> <getAllFilter>(objectClass=uid))</getAllFilter> <getOneFilter>(&(objectClass=inetorgperson) (mail={mail}))</getOneFilter> <cleanFilter>(&(objectClass=inetorgperson) (mail={mail}))</cleanFilter> </ldapSourceService> <ldapDestinationService> <name>MySyncTask-dst</name> <connection reference="dst-ldap"/> <baseDn>ou=People,dc=testsa,dc=org</baseDn> <pivotAttributes> <string>mail</string> </pivotAttributes> <fetchedAttributes> <string>cn</string> <string>sn</string> <string>objectClass</string> <string>uid</string> <string>mail</string> </fetchedAttributes> <getAllFilter>(objectClass=inetOrgPerson)</getAllFilter> <getOneFilter>(&(objectClass=inetOrgPerson)(mail={mail}))</getOneFilter> </ldapDestinationService> <propertiesBasedSyncOptions> <mainIdentifier>"cn=" + srcBean.getDatasetFirstValueById("cn") + ",ou=People,dc=testsa,dc=org"</mainIdentifier> <defaultDelimiter>;</defaultDelimiter> <defaultPolicy>FORCE</defaultPolicy> <dataset> <name>objectClass</name> <policy>FORCE</policy> <forceValues> <string>"inetOrgPerson"</string> <string>"organizationalPerson"</string> <string>"person"</string> <string>"top"</string> </forceValues> <delimiter>,</delimiter> </dataset> <dataset> <name>uid</name> <policy>FORCE</policy> <forceValues> <string>srcBean.getDatasetFirstValueById(“sAMAccountName”)</string> </forceValues> </dataset> </propertiesBasedSyncOptions> </task> </tasks> </lsc> -- ------------------------------ [image: UNFPA] <http://www.unfpa.org/> <https://www.facebook.com/UNFPA> <https://twitter.com/unfpa> <https://instagram.com/unfpa/> <https://www.linkedin.com/company/unfpa> <https://www.youtube.com/user/unfpa> <https://plus.google.com/+unfpa/posts> <http://visitor.r20.constantcontact.com/manage/optin?v=001-YNFZmXHhSP25d9kiBTi0ZxtEwaeIcM-UeLsaXPKYoHs5SAGE1WbNakIrfhkc_3wTTkXkKXbHJpBnXtbqkTATg_O174jFAyLQdNkQkPKQAk=&MERGE0=>
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

