[jcifs] NTLM Authentication problem

Manikandan Chandrasekaran mani.chandrasekaran at gmail.com
Tue Sep 12 12:27:49 GMT 2006


Hi,
    I am using jcifs for doing NTLM Authentication using tomcat. Let me
explain the scenario for you to understand:

I tried to login using NTLM authentication. It went through fine. Then I
asked my friend to login. When he tried, he could not login. Then we
restarted the server. Then I asked him to login. Now he could login but not
me. ie. It seems like only one user can be logged in. We didn't understand
what could be wrong.

Am I missing something?
Can you please tell me what is causing the problem?

The following is the configuration I added in my web.xml

<filter>
      <filter-name>NtlmHttpFilter</filter-name>
      <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
      <init-param>
         <param-name>jcifs.http.domainController</param-name>
         <param-value>DOMAIN CONTROLLER</param-value>
      </init-param>
      <init-param>
        <param-name>jcifs.netbios.hostname</param-name>
        <param-value>MY HOST NAME</param-value>
      </init-param>
</filter>
<filter-mapping>
   <filter-name>NtlmHttpFilter</filter-name>
   <url-pattern>/index.jsp</url-pattern>
</filter-mapping>

Regards,
Mani
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~
http://manikandanc.blogspot.com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list