Fórumok

LDAP Import Error

thumbnail
Pankaj Kathiriya, módosítva 11 év-val korábban

LDAP Import Error

Liferay Master Bejegyzések: 722 Csatlakozás dátuma: 2010.08.05. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LDAP Import Error

Junior Member Bejegyzések: 70 Csatlakozás dátuma: 2008.10.14. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: LDAP Import Error

Regular Member Bejegyzések: 232 Csatlakozás dátuma: 2012.09.07. Legújabb bejegyzések
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, módosítva 10 év-val korábban

RE: LDAP Import Error

Regular Member Bejegyzések: 107 Csatlakozás dátuma: 2007.11.21. Legújabb bejegyzések
Hi everybody,

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

Thanks in advance,

Christopher
thumbnail
Rahul Pande, módosítva 10 év-val korábban

RE: LDAP Import Error

Expert Bejegyzések: 310 Csatlakozás dátuma: 2010.07.07. Legújabb bejegyzések
Hi Pankaj,

Please have a look at this post.


HTH
Rahul Pande