Apache Directory Project - [jira] Resolved: (DIRSERVER-602) Spaces in PROVIDER_URL environment

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > March 2006 > [jira] Resolved: (DIRSERVER-602) Spaces in PROVIDER_URL environment





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (DIRSERVER-602) Spaces in PROVIDER_URL environment
Stefan Zoerner (JIRA)

2006-03-23, 8:46 pm

[ http://issues.apache.org/jira/brows...ER-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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com