This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Since 4 years that i'm using LDAP in my intranet to authenticate the users with active directory. Since 2 weeks that (and i don't know why) this code and connection is not working so well. Sometimes the connection don't start and i don't have permissions. If i restart the TOmcat (not always) the authentication starts well but again goes down.
One thing is that i have two Domain COntrollers and one has a problem and we have to use the intranet Server as a Domain Controller... But on my laptop (not a domain controller) i'm having also the same things.
I debug the code and i receive the following error message "[Root exception is java.net.ConnectException: Connection timed out: connect", i search and i see one thing in one forum saying to add to the hosts file the ip of the intranet server plus FDQN and the server name