Foros de discusión

Liferay 7 GA1 LDAP add Server button not working

Richard Hierlmeier, modificado hace 7 años.

Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 4 Fecha de incorporación: 5/10/15 Mensajes recientes
I have to test the user management via LDAP and followed the instruction at https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/ldap.
When I navigate to Control Panel -> Configuration -> Instance Settings -> Authentication -> LDAP
and press the Ldap Server Add button nothing happens.

Is it no possible to configure LDAP in the community edition?
thumbnail
Juan Gonzalez, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Yes it should be.

If you're accessing your server from a non-localhost location, you should configure:

#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,SERVER_IP
Richard Hierlmeier, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 4 Fecha de incorporación: 5/10/15 Mensajes recientes
It does not work even if the browser is running on the localhost of the liferay instance.
Richard Hierlmeier, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 4 Fecha de incorporación: 5/10/15 Mensajes recientes
My mistake, the LDAP page has came up after 20 seconds. I did not recognize the progress bar on the top of the page.

Thank you for your help

Richard
Richard Hierlmeier, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 4 Fecha de incorporación: 5/10/15 Mensajes recientes
I struggled over the next problem. I entered the parameters for the ldap server, user, group, and export, pressed "Test LDAP Connection", "Test LDAP Users" and "Test LDAP Groups". All tests worked.

When I press the "Save" button, the error message "Your request is failed to complete" is shown. The following exception is printed:


12:03:26,638 ERROR [http-nio-8080-exec-5][PortletServlet:109] javax.portlet.PortletException: Path /com.liferay.portal.settings.web/edit_ldap_server.jsp is not accessible by this portlet
javax.portlet.PortletException: Path /com.liferay.portal.settings.web/edit_ldap_server.jsp is not accessible by this portlet
        at com.liferay.portal.kernel.portlet.LiferayPortlet.checkPath(LiferayPortlet.java:261)
        at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:557)
        at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:575)
        at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:471)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
        at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:294)
        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
        at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$PortletServletWrapper.service(ServletContextHelperRegistrationImpl.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
        at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
        at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:527)


The executing user has the role Administrator.
thumbnail
Juan Gonzalez, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Hi Richard,

do you have directory permissions for your Liferay installation?

Which app server are you using?
Bruno Jimenez, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 3 Fecha de incorporación: 22/06/14 Mensajes recientes
Same problem on liferay-ce-portal-7.0-ga2 over windows 8.

Test Connection OK...
Test Users OK...
Test Groups OK...
Save... Your request failed to complete.

Log say "edit_ldap_server.jsp is not accessible by this portlet".

Some help please...
Kurt Indermaur, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensaje: 1 Fecha de incorporación: 21/07/16 Mensajes recientes
Same problem for us:

javax.portlet.PortletException: Path /com.liferay.portal.settings.web/edit_ldap_server.jsp is not accessible by this portlet
at com.liferay.portal.kernel.portlet.LiferayPortlet.checkPath(LiferayPortlet.java:261)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:557)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:575)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:471)

And I see it here, too: https://web.liferay.com/community/forums/-/message_boards/message/74258480

Does anyone have a solution/workaround?
Sergey Shumakov, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working (Respuesta)

New Member Mensajes: 2 Fecha de incorporación: 14/10/16 Mensajes recientes
I have the same problem with liferay-ce-portal-7.0-ga3. I solved this by setting field "Server Name" after adding LDAP server, it should not be empty.
Hope this will help you.
Jing Cai, modificado hace 7 años.

RE: Liferay 7 GA1 LDAP add Server button not working

New Member Mensajes: 4 Fecha de incorporación: 10/02/14 Mensajes recientes
Sergey Shumakov:
I have the same problem with liferay-ce-portal-7.0-ga3. I solved this by setting field "Server Name" after adding LDAP server, it should not be empty.
Hope this will help you.

Thanks, this solved my problem.