[jira] Commented: (DIRSERVER-602) Spaces in PROVIDER_URL
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-602) Spaces in PROVIDER_URL




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-602) Spaces in PROVIDER_URL  
Tony Blanchard (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-24-06 01:46 AM

[ http://issues.apache.org/jira/brows...237
1409 ]

Tony Blanchard commented on DIRSERVER-602:
------------------------------------------

While trying to make a test case as asked by Emmanuel, I noticed my " " repl
acement was not compiled with my other dependencies.

I am really sorry for time loss.
In fact, replacing " " by "%20", as I made in code but as I did not compile 
correctly, works just fine.

Sorry again for the mistake...
This JIRA entry should be closed.

> 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

>
> I found that giving a PROVIDER_URL value like this : "ldap://localhost:389
/ou=Mon entreprise,dc=fr" to the InitialDirContext constructor returned a Di
rContext 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.LdapCtxFactor
y");
> 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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:26 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register