Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EC1F666D for ; Sun, 22 May 2011 07:59:32 +0000 (UTC) Received: (qmail 59708 invoked by uid 500); 22 May 2011 07:59:31 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 59621 invoked by uid 500); 22 May 2011 07:59:28 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 59610 invoked by uid 99); 22 May 2011 07:59:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 07:59:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2011 07:59:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DD05D68DB for ; Sun, 22 May 2011 07:58:47 +0000 (UTC) Date: Sun, 22 May 2011 07:58:47 +0000 (UTC) From: "Kiran Ayyagari (JIRA)" To: dev@directory.apache.org Message-ID: <1185622227.34187.1306051127381.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <697056960.8147.1297354017525.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (DIRSHARED-117) LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' flag set to true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSHARED-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kiran Ayyagari resolved DIRSHARED-117. -------------------------------------- Resolution: Fixed Assignee: Kiran Ayyagari Agree with what Pierre-Arnaud mentioned and fixed it here http://svn.apache.org/viewvc?rev=1125878&view=rev > LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' flag set to true > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DIRSHARED-117 > URL: https://issues.apache.org/jira/browse/DIRSHARED-117 > Project: Directory Shared > Issue Type: Bug > Affects Versions: 1.0.0-M1 > Reporter: Pierre-Arnaud Marcelot > Assignee: Kiran Ayyagari > Fix For: 1.0.0-M4 > > > LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' flag set to true. > I got an error when using the LDAP API inside Studio where I had set the 'useSsl' flag set to true and was then trying to use the Start TLS extended operation. > Sure, it was a mistake on my side and the server was not receiving the expected bits of information, but it would be nice if the connection could warn the user about his wrong configuration. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira