Forums

Home » Liferay Portal » Português

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bruno Conrado Santos
Erro LDAP
April 26, 2012 5:47 AM
Answer

Bruno Conrado Santos

Rank: New Member

Posts: 18

Join Date: March 21, 2012

Recent Posts

Bom dia.

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

 1
 2[#|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
 3javax.naming.CommunicationException: [LDAP: error code 2 - paged results cookie is invalid]; remaining name 'ou=People,dc=embraconnet,dc=com,dc=br'
 4        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3089)
 5        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
 6        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
 7        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1826)
 8        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1749)
 9        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
10        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
11        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
12        at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
13        at com.liferay.portal.security.ldap.PortalLDAPUtil.searchLDAP(PortalLDAPUtil.java:734)
14        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:544)
15        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:579)
16        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAPByUser(PortalLDAPImporterImpl.java:650)
17        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:189)
18        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:128)
19        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:95)
20        at com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP(PortalLDAPImporterUtil.java:30)
21        at com.liferay.portlet.admin.messaging.LDAPImportMessageListener.doReceive(LDAPImportMessageListener.java:28)
22        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
23        at sun.reflect.GeneratedMethodAccessor563.invoke(Unknown Source)
24        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
25        at java.lang.reflect.Method.invoke(Method.java:597)
26        at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
27        at $Proxy383.receive(Unknown Source)
28        at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:75)
29        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
30        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:106)
31        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
32        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
33        at java.lang.Thread.run(Thread.java:662)
34|#]



Alguém sabe o que pode ser?

Obrigado.


Bruno
Luis Mas
RE: Erro LDAP
August 7, 2012 1:55 PM
Answer

Luis Mas

Rank: Regular Member

Posts: 145

Join Date: May 18, 2009

Recent Posts

I'm facing the same problem in a Liferay 6.1.0 installation bundled.
Dana Oredson
RE: Erro LDAP
August 13, 2012 5:58 PM
Answer

Dana Oredson

Rank: Junior Member

Posts: 70

Join Date: October 14, 2008

Recent Posts

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.
Luis Mas
RE: Erro LDAP
August 14, 2012 1:26 AM
Answer

Luis Mas

Rank: Regular Member

Posts: 145

Join Date: May 18, 2009

Recent Posts

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.
Julio Varela Gómez
RE: Erro LDAP
August 30, 2012 3:54 AM
Answer

Julio Varela Gómez

Rank: Regular Member

Posts: 124

Join Date: January 14, 2008

Recent Posts

Bom dia,

Mira o seguinte ligazón:

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