[jcifs] NTLM Authentication problem

Michael B Allen mba2000 at ioplex.com
Wed Sep 13 14:54:35 GMT 2006

See the NTLM HTTP Filter documentation about SMB signatures.


> 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>

Michael B Allen
PHP Active Directory SSO

More information about the jcifs mailing list