Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 42669 invoked from network); 10 Feb 2011 16:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 16:07:23 -0000 Received: (qmail 78652 invoked by uid 500); 10 Feb 2011 16:07:23 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 78405 invoked by uid 500); 10 Feb 2011 16:07:21 -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 78360 invoked by uid 99); 10 Feb 2011 16:07:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 16:07:20 +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; Thu, 10 Feb 2011 16:07:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 77BDC19D99F for ; Thu, 10 Feb 2011 16:06:57 +0000 (UTC) Date: Thu, 10 Feb 2011 16:06:57 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <2059480971.8146.1297354017487.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (DIRAPI-40) 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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRAPI-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRAPI-40: ----------------------------------------- Summary: LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' flag set to true (was: LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' set to true) > LdapNetworkConnection should throw an exception when startTls() method is called and the LdapConnectionConfig has the 'useSsl' flag set to true > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DIRAPI-40 > URL: https://issues.apache.org/jira/browse/DIRAPI-40 > Project: Directory Client API > Issue Type: Improvement > Affects Versions: 1.0-M1 > Reporter: Pierre-Arnaud Marcelot > > 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