directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-602) Spaces in PROVIDER_URL environment value seems to lead to problems
Date Sun, 15 Feb 2009 13:35:00 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSERVER-602.
---------------------------------------


closed

> Spaces in PROVIDER_URL environment value seems to lead to problems
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-602
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-602
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message