[jcifs] NTLM Authentication and Workgroup

Manju_Panjwani at DadeBehring.com Manju_Panjwani at DadeBehring.com
Fri Oct 15 15:02:02 GMT 2004


Hello
I am facing a strange problem.
I have successfully installed and deployed my web application on my
computer (belonging to a domain) . The NTLM authentication works as
expected.
But when I deploy the same web application on a computer not associated
with any domain , the NTLM authentication doesn't work.
Browser : IE 5.x
Jar file : jcifs-1.1.0.jar - jar file is present in <webapp>/WEB-INF/lib
App Server : Tomcat 5.0.27
On entering the url, IE pops up with a username /password dialog box. On
entering a valid login id /password, NTLM authentication complains -
Invalid User or Password.

Entries in my web.xml are -
<filter>
            <filter-name>NtlmHttpFilter</filter-name>
            <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
                <init-param>
                    <param-name>jcifs.netbios.wins</param-name>
                    <param-value>172.17.47.240</param-value>
                </init-param>
                <init-param>
                    <param-name>jcifs.util.loglevel</param-name>
                    <param-value>10</param-value>
                </init-param>
                <init-param>
                    <param-name>jcifs.resolveOrder</param-name>
                    <param-value>LMHOSTS,WINS,BCAST,DNS</param-value>
                </init-param>
                <init-param>
                    <param-name>jcifs.http.domainController</param-name>
                    <param-value>8jx1q31</param-value>
                </init-param>
                <init-param>
                    <param-name>jcifs.smb.client.logonShare</param-name>
                    <param-value>temp</param-value>
                </init-param>
        </filter>

        <filter-mapping>
            <filter-name>NtlmHttpFilter</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>


Please help

Thanks
-Manju


THIS E-MAIL MAY CONTAIN CONFIDENTIAL OR PROPRIETARY MATERIAL FOR THE SOLE
USE OF THE INTENDED RECIPIENT.  ANY REVIEW, USE, DISTRIBUTION OR DISCLOSURE
BY OTHERS IS STRICTLY PROHIBITED.  IF YOU ARE NOT THE INTENDED RECIPIENT,
OR AUTHORIZED TO RECEIVE THE INFORMATION FROM THE RECIPIENT, PLEASE CONTACT
THE SENDER BY REPLY E-MAIL AND DELETE ALL COPIES OF THIS MESSAGE.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list