Fórumok

Erro LDAP

thumbnail
Bruno Conrado Santos, módosítva 11 év-val korábban

Erro LDAP

New Member Bejegyzések: 18 Csatlakozás dátuma: 2012.03.21. Legújabb bejegyzések
Bom dia.

Na importação de usuário do LDAP estou tendo o seguinte erro:


[#|2012-04-26T09:43:16.772+0000|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=112;_ThreadName=Thread-2;|09:43:16,771 ERROR [PortalLDAPImporterImpl:196] Error importing LDAP users and groups
javax.naming.CommunicationException: [LDAP: error code 2 - paged results cookie is invalid]; remaining name 'ou=People,dc=embraconnet,dc=com,dc=br'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3089)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1826)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
        at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
        at com.liferay.portal.security.ldap.PortalLDAPUtil.searchLDAP(PortalLDAPUtil.java:734)
        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:544)
        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:579)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAPByUser(PortalLDAPImporterImpl.java:650)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:189)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:128)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:95)
        at com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP(PortalLDAPImporterUtil.java:30)
        at com.liferay.portlet.admin.messaging.LDAPImportMessageListener.doReceive(LDAPImportMessageListener.java:28)
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
        at sun.reflect.GeneratedMethodAccessor563.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
        at $Proxy383.receive(Unknown Source)
        at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:75)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:106)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
        at java.lang.Thread.run(Thread.java:662)
|#]



Alguém sabe o que pode ser?

Obrigado.


Bruno
thumbnail
Luis Mas, módosítva 11 év-val korábban

RE: Erro LDAP

Regular Member Bejegyzések: 146 Csatlakozás dátuma: 2009.05.18. Legújabb bejegyzések
I'm facing the same problem in a Liferay 6.1.0 installation bundled.
Dana Oredson, módosítva 11 év-val korábban

RE: Erro LDAP

Junior Member Bejegyzések: 70 Csatlakozás dátuma: 2008.10.14. Legújabb bejegyzések
Did either of you figure this out yet?

I'm upgrading from 6.0.x to 6.1.x and am seeing the same thing.
thumbnail
Luis Mas, módosítva 11 év-val korábban

RE: Erro LDAP

Regular Member Bejegyzések: 146 Csatlakozás dátuma: 2009.05.18. Legújabb bejegyzések
In my case, I had another error in the logs just before this one and when I fixed it, this one was also solved. The previous one was because the format of username was incorrect.

Hope this help you.
thumbnail
Julio Varela Gómez, módosítva 11 év-val korábban

RE: Erro LDAP

Regular Member Bejegyzések: 130 Csatlakozás dátuma: 2008.01.14. Legújabb bejegyzések
Bom dia,

Mira o seguinte ligazón:

http://www.liferay.com/community/forums/-/message_boards/message/8114588