-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.0.6 GA
-
Fix Version/s: 6.0.X EE
-
Component/s: Application Security > LDAP, Portal Services
http://www.liferay.com/community/forums/-/message_boards/view_message/10436140#_19_message_8246721
After upgrading from liferay 5.2.3 to Liferay 6.0 we saw this error. It seems that 3 portletproperties are missing:
ldap.user.custom.mappings.<ldapServerId>=
ldap.contact.mappings.<ldapServerId>=
ldap.contact.custom.mappings.<ldapServerId>=
The issue can be worked around by adding these to the portal-ext.properties. (thanks Robert Lindblom)
The error:
011-04-14 12:00:38 ERROR [com.liferay.portal.security.auth.LDAPAuth] - Problem accessing LDAP server
java.lang.NullPointerException
at com.liferay.portal.kernel.io.unsync.UnsyncStringReader.<init>(UnsyncStringReader.java:33)
at com.liferay.portal.kernel.util.PropertiesUtil.load(PropertiesUtil.java:199)
at com.liferay.portal.kernel.util.PropertiesUtil.load(PropertiesUtil.java:192)
at com.liferay.portal.security.ldap.LDAPSettingsUtil.getUserExpandoMappings(LDAPSettingsUtil.java:125)
at com.liferay.portal.security.ldap.PortalLDAPUtil.getUserAttributes(PortalLDAPUtil.java:484)
at com.liferay.portal.security.auth.LDAPAuth.authenticate(LDAPAuth.java:258)
at com.liferay.portal.security.auth.LDAPAuth.authenticate(LDAPAuth.java:363)
- duplicates
-
LPS-27792 Missing portlet properties when upgrading to Liferay 6.1 EE (was LPS-20008)
- Closed