----- "Felix Schumacher" <felix.schumac...@internetallee.de> wrote:
> Ok, my patch will not work, since new InitialDirContext(env) will not > create a LdapContext, but a DirContext. You could try to change new > InitialDirContext(env) into InitalLdapContext(env, null) as used in > the > sun startssl example. I applied the suggested code change, and came to the same results. Then I added authentication="EXTERNAL" to the Realm, as Mark suggested, and, again came to the same results as before (see http://www.mail-archive.com/users@tomcat.apache.org/msg80677.html ) I'm attaching the capture I took on the server, it might help the debugging, after all, it says: LDAP bindRequest(1) "<ROOT>" [Malformed Packet] (I've censored the uid and password) > I will test it tomorrow. > > But it may be easier to allow ssl with your ldap config :) pffft.. waaay too easy ;) Also, from what I gather, it doesn't actually work in the Zimbra ways to have both, StartTLS and SSL at the same time. I'd have to investigate > Bye > Felix i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org