Now, before close the thread and talk to people like if they were stupid, please read carefully, If you have an answer it will be really appreciated.

The problem is with authentication to an Active Directory with windows server 2008, I'm using spring-ldap, but I also try to fix the problem calling directly to LdapCtx, the problem IS NOT RELATED TO CODE, actually, the same code works perfectly fine in Java 5, but, when the JVM is upgraded to Java 6 this problem araise: