[jcifs] JCIFS hostname

Michael B Allen ioplex at gmail.com
Wed Jan 21 18:31:13 GMT 2009


On Wed, Jan 21, 2009 at 11:43 AM, Eric Cartier <eric.cartier at gmail.com> wrote:
> Sorry for that, I will explain the context...
>
> We have a Tomcat application server and we want windows XP users to be
> logging in with jcifs (for SSO using NTLMv1).
>
> So we restricted access from users to log on computers. The computer account
> (for tomcat jcifs server) in the active directory must be use to permit
> users to access the web application.

It sounds like maybe that init-param is being ignored. Make sure you
fully restart Tomcat after making changes to init-params. JCIFS
properties are global statics that are loaded once when classes are
initialized so even though some containers are smart enough to
re-initialize things after updating an app, you still need to
completely restart the container to reload those global statics. To be
absolutely sure JCIFS properties are being read correctly, you should
really use a properties file set with -Djcifs.properties=file.prp from
the Tomcat command-line.

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jcifs mailing list