[
https://issues.apache.org/jira/browse/DIRSTUDIO-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728588#comment-14728588
]
Stefan Seelmann commented on DIRSTUDIO-1069:
--------------------------------------------
Interesting.
The Studio code looks like this:
{code}
ldapConnection = new LdapNetworkConnection(
ldapConnectionConfig );
boolean connected = ldapConnection.connect();
if ( !connected )
{
throw new Exception(
Messages.DirectoryApiConnectionWrapper_UnableToConnect );
}
{code}
So {{LdapNetworkConnection.connect()}} returns {{false}}, no Exception, there
is only one place in line 661 where {{false}} is returned. We need to
investigate when this can happen. [~akiran], [~elecharny], any idea?
> Cannot connect to LDAP server over SSL
> --------------------------------------
>
> Key: DIRSTUDIO-1069
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1069
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 2.0.0-M9 (2.0.0.v20150606-M9)
> Reporter: Steven Nguyen
> Priority: Minor
>
> Hi Team,
> I'm using Directory Studio to connect to LDAP host over SSL. The host and
> port (636) are configured correctly. SSL is also enabled on LDAP host. I also
> added the server certificate to Certificate Validation list.
> However, I could not connect to the LDAP server. The error I got is "Unable
> to connect".
> It's weird that on another PC with same settings in Directory Studio, in same
> LAN, I could connect to the LDAP host successfully.
> Could you please let me know what I'm missing?
> Thanks and Best Regards,
> Steven Nguyen
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)