|
The problem, I think, is still authentication. With LDAP, authentication and connection are really two different steps. When you connect to LDAP, and pass it a set of credentials, you could fail and be allowed in as an anonymous user. I can't remember if the Netscape LDAP packages threw an exception for a failed login or not. But, because you're not authenticated as a user with sufficent rights to actually modify anything, when you try to add an entry it will fail.
As for the Servlet, the problem obviously lies in Add(). We'd best debug that first before you add layers on top of it.
|