[lsc-dev] [LDAP Synchronization Connector - Bug #593] Active Directory Paging

noreply at lsc-project.org noreply at lsc-project.org
Mon Jul 29 14:43:09 CEST 2013


Issue #593 has been updated by Thierry Deillon.


The test is done against the same AD, with the same connection settings. There is no issue with lsc-1.2.2. So, issue does not look to be on AD side.
----------------------------------------
Bug #593: Active Directory Paging
http://tools.lsc-project.org/issues/593

Author: Thierry Deillon
Status: Assigned
Priority: Normal
Assigned to: Clément OUDOT
Category: Core
Target version: 2.0.3
Problem in version: 


Since version 2.0, I have the following error when trying to synchronize more than <pageSize> (here set to 30) users in Active Directory.

2013-06-03 14:11:51 - INFO  - Starting sync for UserSyncTask
2013-06-03 14:11:51 - DEBUG - Using pagedResults control for 30 entries at a time
2013-06-03 14:11:52 - ERROR - javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00002040: SvcErr: DSID-031401F1, problem 5010 (UNAVAIL_EXTENSION), data 0
]; remaining name 'ou=Users'
2013-06-03 14:11:52 - DEBUG - javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00002040: SvcErr: DSID-031401F1, problem 5010 (UNAVAIL_EXTENSION), data 0
]; remaining name 'ou=Users'
javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00002040: SvcErr: DSID-031401F1, problem 5010 (UNAVAIL_EXTENSION), data 0
]
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3147) ~[na:1.7.0_17]
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033) ~[na:1.7.0_17]
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840) ~[na:1.7.0_17]
	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1849) ~[na:1.7.0_17]
	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1772) ~[na:1.7.0_17]
	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:386) ~[na:1.7.0_17]
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:356) ~[na:1.7.0_17]
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:339) ~[na:1.7.0_17]
	at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:267) ~[na:1.7.0_17]
	at org.lsc.jndi.JndiServices.doGetAttrsList(JndiServices.java:1123) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.jndi.JndiServices.getAttrsList(JndiServices.java:1055) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.jndi.SimpleJndiSrcService.getListPivots(SimpleJndiSrcService.java:176) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:312) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:220) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:157) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.Launcher.run(Launcher.java:223) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.Launcher.launch(Launcher.java:158) [lsc-core-trunk-SNAPSHOT.jar:na]
	at org.lsc.Launcher.main(Launcher.java:141) [lsc-core-trunk-SNAPSHOT.jar:na]


See below the definition of the ActiveDirectory connection:
   <ldapConnection>
      <name>ldap-src-conn</name>
      <url>ldaps://10.0.10.10:50061/DC=corp,DC=my</url>
      <username>CN=admin,OU=Admin,DC=corp,DC=my</username>
      <password>XXXXXXX</password>
      <authentication>SIMPLE</authentication>
      <referral>THROW</referral>
      <derefAliases>NEVER</derefAliases>
      <version>VERSION_3</version>
      <pageSize>30</pageSize>
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
      <tlsActivated>true</tlsActivated>
      <sortedBy>cn</sortedBy>
    </ldapConnection>

This issue does not happen on lsc-1.2.2.



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20130729/934aa153/attachment.htm>


More information about the lsc-dev mailing list