Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Brian Rehrey
Group error with Ldap + Active Directory login LifeRay 6.1 CE
October 18, 2012 6:53 AM
Answer

Brian Rehrey

Rank: New Member

Posts: 1

Join Date: August 3, 2012

Recent Posts

When I try to set up LifeRay with Ldap connected to our Active Directory Server most of us can log in using our active directory id and password.
Except a few users get this error when importing or when just authenticating against the server without import.


12:12:59,440 ERROR [pool-2-thread-1][PortalLDAPImporterImpl:698] Unable to import user CN=*NAME*,OU=**,OU=**,OU=**: null:null:{samaccountname=sAMAccountName: *LOGIN*}
java.lang.NullPointerException
at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importGroup(PortalLDAPImporterImpl.java:753)
at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importGroups(PortalLDAPImporterImpl.java:827)
at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAPByUser(PortalLDAPImporterImpl.java:693)
at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:198)
at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:135)
at com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP(PortalLDAPImporterUtil.java:43)
at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:448)
at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:92)
at com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:798)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:355)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Our current checked settings are:
Enabled
Required
Use LDAP Password Policy

We have tried other settings to no avail. Either they get this error or no one is able to log in.
Anyone else having this issue or see a solution.
Dmitry K
RE: Group error with Ldap + Active Directory login LifeRay 6.1 CE
February 4, 2013 2:36 PM
Answer

Dmitry K

Rank: New Member

Posts: 10

Join Date: January 21, 2013

Recent Posts

I have the same error, and a cannot solve it yet too!