sun LDAP provider fails when searching for cn=/something
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sylvain_PEREIRA
Posted On:   Wednesday, November 6, 2002 08:01 AM

I have nis maps stored in iPlanet directory server 5.
Some are related to automount and their rdn looks like
cn=/my/dir/to/mount.
Sun provider fails NamingException (parse error) because
of '/' char.

Netscape provider works fine but i can't make it work with
SSL.


Anyone ever solve this ?

Thanks,

Sylvain.

[SOLVED] Re: sun LDAP provider fails when searching for cn=/something

Posted By:   Sylvain_PEREIRA  
Posted On:   Thursday, November 21, 2002 02:13 AM

The problem was that Names containing '/' are encapsulated
by Sun Jndi Ldap Provider (SJLP) with ' " '.


So when asking SJLP to parse the name, we MUST get the
parser with the encapsulated value. BUT when applying
the parse method, man MUST remove the ' " ' caracters
or an parsing exception is raised.




May be somebody will have the same problem.


Sylvain.
About | Sitemap | Contact