Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
LDAP connection through Portal Setting Nitesh Kr Sahay 7 de Agosto de 2012 07:16
RE: LDAP connection through Portal Setting David H Nebinger 7 de Agosto de 2012 07:28
RE: LDAP connection through Portal Setting biswajit sarkar 7 de Agosto de 2012 07:42
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 7 de Agosto de 2012 07:43
RE: LDAP connection through Portal Setting biswajit sarkar 10 de Agosto de 2012 00:09
RE: LDAP connection through Portal Setting Alireza Zare 3 de Outubro de 2012 07:10
RE: LDAP connection through Portal Setting Juan Gonzalez 3 de Outubro de 2012 08:18
RE: LDAP connection through Portal Setting Alireza Zare 3 de Outubro de 2012 08:33
RE: LDAP connection through Portal Setting Juan Gonzalez 3 de Outubro de 2012 10:45
RE: LDAP connection through Portal Setting Alireza Zare 3 de Outubro de 2012 12:26
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 29 de Outubro de 2012 06:04
RE: LDAP connection through Portal Setting Nikhil Nishchal 29 de Outubro de 2012 06:34
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 31 de Outubro de 2012 05:12
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 26 de Novembro de 2012 03:37
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 18 de Janeiro de 2013 06:07
RE: LDAP connection through Portal Setting Juan Gonzalez 18 de Janeiro de 2013 07:18
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 19 de Janeiro de 2013 01:02
RE: LDAP connection through Portal Setting Balakrishna Chamarthi 11 de Julho de 2014 11:40
RE: LDAP connection through Portal Setting Nitesh Kr Sahay 18 de Janeiro de 2013 05:50
Nitesh Kr Sahay
LDAP connection through Portal Setting
7 de Agosto de 2012 07:16
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

I am unable to configure ldap connection succesfully through Portal setting in liferay comunity edition 6.1.1-GA2.
I have done the this before succesfully with liferay 6.0 and liferay 6.1 GA-1
David H Nebinger
RE: LDAP connection through Portal Setting
7 de Agosto de 2012 07:28
Resposta

David H Nebinger

Ranking: Liferay Legend

Mensagens: 6134

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

portal-ext.properties changes are only used the first time the portal starts against the database. Afterwards it is always configured via the control panel.
biswajit sarkar
RE: LDAP connection through Portal Setting
7 de Agosto de 2012 07:42
Resposta

biswajit sarkar

Ranking: Regular Member

Mensagens: 166

Data de entrada: 17 de Outubro de 2011

Mensagens recentes

I also face the same problem.... when I try to connect ldap using "ldaps" and 636 port in GA2.
I already add the certificate in jdk.
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
7 de Agosto de 2012 07:43
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Thanks David for reply,
I have configured via control panel...but the problem remains...
biswajit sarkar
RE: LDAP connection through Portal Setting
10 de Agosto de 2012 00:09
Resposta

biswajit sarkar

Ranking: Regular Member

Mensagens: 166

Data de entrada: 17 de Outubro de 2011

Mensagens recentes

anyone aware about this problem in LIferay 6.1 GA2.
trying to connect ldap using "ldaps" but fail.
Alireza Zare
RE: LDAP connection through Portal Setting
3 de Outubro de 2012 07:10
Resposta

Alireza Zare

Ranking: Regular Member

Mensagens: 110

Data de entrada: 3 de Setembro de 2010

Mensagens recentes

biswajit sarkar:
anyone aware about this problem in LIferay 6.1 GA2.
trying to connect ldap using "ldaps" but fail.



Does anyone know if secured ldap works in Liferay?
Juan Gonzalez
RE: LDAP connection through Portal Setting
3 de Outubro de 2012 08:18
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1841

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

It's working ok for me.
Alireza Zare
RE: LDAP connection through Portal Setting
3 de Outubro de 2012 08:33
Resposta

Alireza Zare

Ranking: Regular Member

Mensagens: 110

Data de entrada: 3 de Setembro de 2010

Mensagens recentes

Juan Gonzalez P:
It's working ok for me.



How did you apply that, because I get Handshake Exception??
Juan Gonzalez
RE: LDAP connection through Portal Setting
3 de Outubro de 2012 10:45
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1841

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Simply got installed my certificates in my app server/jdk.
Alireza Zare
RE: LDAP connection through Portal Setting
3 de Outubro de 2012 12:26
Resposta

Alireza Zare

Ranking: Regular Member

Mensagens: 110

Data de entrada: 3 de Setembro de 2010

Mensagens recentes

Juan Gonzalez P:
Simply got installed my certificates in my app server/jdk.



Using server.xml ?
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
29 de Outubro de 2012 06:04
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Does any one get the solution?...
Nikhil Nishchal
RE: LDAP connection through Portal Setting
29 de Outubro de 2012 06:34
Resposta

Nikhil Nishchal

Ranking: Junior Member

Mensagens: 74

Data de entrada: 21 de Junho de 2012

Mensagens recentes

I connected Ldap with liferay in 6.1.
proecess used:
LDAP server- Apache DS
Jexplorer for ldap browser.
and configured it through control pannel and get connected fine.

are you providing correct information :
User DN- uid=admin,ou=system
Password- secret


from control panel after filling information when you use test connection.
Are you getting any log on back-end?
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
31 de Outubro de 2012 05:12
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Nikhil Nishchal:
I connected Ldap with liferay in 6.1.
proecess used:
LDAP server- Apache DS
Jexplorer for ldap browser.
and configured it through control pannel and get connected fine.

are you providing correct information :
User DN- uid=admin,ou=system
Password- secret


from control panel after filling information when you use test connection.
Are you getting any log on back-end?

Thanks Nikhil for the reply...

No i m not getting log for that....
I am trying to connect 6.1.1 GA2 with ldap server and i m using Novell eDirectory...Previously i have done this successfully with 6.0.6 and 6.1.0 GA1.
The problem occur for secure ldap connevtion. using the protocol ldaps and port 636.
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
26 de Novembro de 2012 03:37
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Hi guys finally i got the problem... it is because of multiple jdk at my end...
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
18 de Janeiro de 2013 05:50
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Using keytool command...import the certificate of the server which u r using into the jdk
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
18 de Janeiro de 2013 06:07
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

This time am getting log in backend.... log is as follows... again in trouble for ldap configuration in 6.1.1 CE GA2

13:53:23,920 WARN [http-bio-8080-exec-8][PortalLDAPUtil:116] Failed to bind to the LDAP server
13:53:23,920 DEBUG [http-bio-8080-exec-8][PortalLDAPUtil:120] javax.naming.CommunicationException: xx.x.xx.xx:636 [Root exception is java.net.SocketTimeoutException: Read timed out]
javax.naming.CommunicationException: xx.x.xx.xx:636 [Root exception is java.net.SocketTimeoutException: Read timed out]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:224)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1600)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)at
at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:274)
at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:153)
...........................
. ...........................
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:312)
at sun.security.ssl.InputRecord.read(InputRecord.java:350)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:379)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:201)
... 222 more


Kindly reply .....ASAP
Juan Gonzalez
RE: LDAP connection through Portal Setting
18 de Janeiro de 2013 07:18
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1841

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

So guess you are hitting this issue:

http://issues.liferay.com/browse/LPS-30992

Have configured any time out error, in Liferay and/or your LDAP server?
Nitesh Kr Sahay
RE: LDAP connection through Portal Setting
19 de Janeiro de 2013 01:02
Resposta

Nitesh Kr Sahay

Ranking: Junior Member

Mensagens: 57

Data de entrada: 28 de Novembro de 2011

Mensagens recentes

Juan Gonzalez P:
So guess you are hitting this issue:

http://issues.liferay.com/browse/LPS-30992

Have configured any time out error, in Liferay and/or your LDAP server?



Thanks Juan for quick response...This issue is much more closer to my problem... so it helps me a lot..
Now the Ldap connection works fine for me....
I do following changes in portlet-ext.properties file
1ldap.connection.com.sun.jndi.ldap.connect.timeout=1000
2ldap.connection.com.sun.jndi.ldap.read.timeout=2000
Balakrishna Chamarthi
RE: LDAP connection through Portal Setting
11 de Julho de 2014 11:40
Resposta

Balakrishna Chamarthi

Ranking: New Member

Mensagens: 2

Data de entrada: 11 de Fevereiro de 2011

Mensagens recentes

Hi,

I have the similar issue. I am getting the TLS negotiation failed message. I did import the .cer file to my JDK cacerts. But still the same issue.
Can you please provide any guidance?