Fórum

LDAP Import Error

thumbnail
Pankaj Kathiriya, modificado 11 Anos atrás.

LDAP Import Error

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Hi Experts,

We have configured Liferay sp2 with OpenLDAP server.
On Liferay's log we continuously getting error as below.

05:41:52,858 ERROR [PortalLDAPImporterImpl:178] Error importing LDAP users and groups
javax.naming.CommunicationException: [LDAP: error code 2 - paged results cookie is invalid]; remaining name 'dc=qa,dc=internal,dc=abc,dc=com'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3115)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1829)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1752)
        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:737)
        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:547)
        at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:582)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAPByUser(PortalLDAPImporterImpl.java:457)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:173)
        at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:117)



Can anybody please suggest what is the cause and how it can be avoided?
Many Thanks in Advance!
Dana Oredson, modificado 11 Anos atrás.

RE: LDAP Import Error

Junior Member Postagens: 70 Data de Entrada: 14/10/08 Postagens Recentes
Pankaj Kathiriya:

Can anybody please suggest what is the cause and how it can be avoided?
Many Thanks in Advance!


Did you ever resolve this? I'm upgrading from 6.0.x to 6.1.x now and am getting the same thing.
thumbnail
Antoine Comble, modificado 11 Anos atrás.

RE: LDAP Import Error

Regular Member Postagens: 232 Data de Entrada: 07/09/12 Postagens Recentes
Hi everybody,

I've the same problem.
I work with Liferay 6.1.20-ee-ga2. I've tried to modified the value of ldap.page.size property to 5000 but it doesn't work.
The LDAP i use is OpenLDAP.

I need your help !

Thanks for advance,
Christopher Olbertz, modificado 10 Anos atrás.

RE: LDAP Import Error

Regular Member Postagens: 107 Data de Entrada: 21/11/07 Postagens Recentes
Hi everybody,

did anyone solve this issue? I have the same problem.

Thanks in advance,

Christopher
thumbnail
Rahul Pande, modificado 10 Anos atrás.

RE: LDAP Import Error

Expert Postagens: 310 Data de Entrada: 07/07/10 Postagens Recentes
Hi Pankaj,

Please have a look at this post.


HTH
Rahul Pande