Fórum

HOW TO connect with a non-ssl LDAP (port:389) - liferay 6.0.5.

Just Geeked, modificado 13 Anos atrás.

HOW TO connect with a non-ssl LDAP (port:389) - liferay 6.0.5.

New Member Postagens: 20 Data de Entrada: 09/09/10 Postagens Recentes
Hi everybody,

I'm looking for a way to connect to a non-ssl LDAP server.

#The informations I've got are:
url: ldap://ldap.test.com:389
ou=people
dc=test.com
LDAP version : 3
LDAP encoding : utf-8

Normally I shouldn't need a user/pwd.

But when I'm testing my LDAP connection within the portal I've got the ERROR:
"Liferay has failed to connect to the LDAP server. Please check your configuration and verify that the LDAP server is running.".

#This is how I filled it in Liferay:
Base Provider URL: ldap://ldap.test.com:389
Base DN: dc=test,dc=com
Principal: ou=people
Credentials:

#I also tested:
Base Provider URL: ldap://ldap.test.com:389
Base DN: dc=test,dc=com
Principal: uid=admin, ou=people
Credentials:

# and:
Base Provider URL: ldap://ldap.test.com:389
Base DN: ou=people,dc=test,dc=com
Principal:
Credentials:

Please HELP ME
thumbnail
Ed Holderman, modificado 13 Anos atrás.

RE: HOW TO connect with a non-ssl LDAP (port:389) - liferay 6.0.5.

Junior Member Postagens: 25 Data de Entrada: 15/07/10 Postagens Recentes
From my experience Liferay will work just fine when connecting to an LDAP server without LDAPS. Try connecting to your LDAP through it's management interface using the same address/port/uid/password/baseDn and it should blow up the same way. Also, verify that you actually have connectivity from that Liferay box to the LDAP server (firewall, DNS, hosts files, etc) and that your LDAP server will accept non-SSL traffic. -Ed