Foros de discusión

LDAP Import Error

thumbnail
Pankaj Kathiriya, modificado hace 11 años.

LDAP Import Error

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
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 hace 11 años.

RE: LDAP Import Error

Junior Member Mensajes: 70 Fecha de incorporación: 14/10/08 Mensajes recientes
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 hace 11 años.

RE: LDAP Import Error

Regular Member Mensajes: 232 Fecha de incorporación: 7/09/12 Mensajes recientes
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 hace 10 años.

RE: LDAP Import Error

Regular Member Mensajes: 107 Fecha de incorporación: 21/11/07 Mensajes recientes
Hi everybody,

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

Thanks in advance,

Christopher
thumbnail
Rahul Pande, modificado hace 10 años.

RE: LDAP Import Error

Expert Mensajes: 310 Fecha de incorporación: 7/07/10 Mensajes recientes
Hi Pankaj,

Please have a look at this post.


HTH
Rahul Pande