• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI: InvalidNameException

 
Nuno Miguel Santos
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm always getting an error when getting a name from my active directory server.

The error is the following:

javax.naming.InvalidNameException: Invalid name: "CN=»OGMA Serviço LAN/WAN",cn=Recipients,cn=Users,,dc=intra

After googling a bit, I found the following information

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4307193
http://docs.oracle.com/javase/jndi/tutorial/beyond/names/syntax.html

As you can see, I tried both with the parser approach and the composite name approach, but the error continues!

What am I missing?

Here's my code that does those operations:



Regards,
Nuno.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic