Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 42754 invoked from network); 22 Mar 2006 10:52:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2006 10:52:55 -0000 Received: (qmail 21773 invoked by uid 500); 22 Mar 2006 10:52:29 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 21649 invoked by uid 500); 22 Mar 2006 10:52:29 -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 21637 invoked by uid 99); 22 Mar 2006 10:52:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 02:52:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2006 02:52:28 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 92C59D49FF for ; Wed, 22 Mar 2006 10:52:07 +0000 (GMT) Message-ID: <1115032187.1143024727598.JavaMail.jira@ajax> Date: Wed, 22 Mar 2006 10:52:07 +0000 (GMT) From: "Stefan Zoerner (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-602) Spaces in PROVIDER_URL environment value seems to lead to problems In-Reply-To: <24911036.1142958123254.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-602?page=all ] Stefan Zoerner resolved DIRSERVER-602: -------------------------------------- Resolution: Won't Fix In order to reflect the comment from Tony, that encoding of the blank in the URL makes his situation work, I resolve this issue ("Won't fix"). > Spaces in PROVIDER_URL environment value seems to lead to problems > ------------------------------------------------------------------ > > Key: DIRSERVER-602 > URL: http://issues.apache.org/jira/browse/DIRSERVER-602 > Project: Directory ApacheDS > Type: Bug > Versions: 1.0-RC2 > Environment: WIN XP > ACI Enabled > sun LdapCtxFactory > Reporter: Tony Blanchard > Assignee: Stefan Zoerner > > I found that giving a PROVIDER_URL value like this : "ldap://localhost:389/ou=Mon entreprise,dc=fr" to the InitialDirContext constructor returned a DirContext with a currentDN attribute to :"ou=Mon". > Ex : > lEnv.put(...); > lEnv.put(Context.PROVIDER_URL, "ldap://localhost:389/ou=Mon entreprise,dc=fr"); > lEnv.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); > try > { > lContext = new InitialDirontext(lEnv); > } > [ .... ] > As a result, I can not use correctly this context. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira