[jcifs] Just a test

Emmanuel Potvin emmanuel_potvin at hotmail.com
Wed Dec 7 20:37:16 GMT 2005


I have a solaris server with jboss installed on it. I want to try jcifs, and 
I saw in the documentation that the domain controler can be a workstation. I 
want to make a test, just to see if I can make it works.

So here is what I did and it doesn't works... I have a popup screen instead 
of an auto authentication... And even if a try a real login and password, it 
doesn't works.

I put the jCIFS.jar file in my WEB-INF/lib directory

I added this in my web.xml file :

    <filter>
        <filter-name>NtlmHttpFilter</filter-name>
        <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
        <init-param>
            <param-name>jcifs.http.domainController</param-name>
            <param-value>10.1.60.103</param-value>
        </init-param>
        <init-param>
            <param-name>jcifs.smb.client.domain</param-name>
            <param-value>MANU</param-value>
        </init-param>
    </filter>

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

10.1.60.103 is the ip address of my workstation, and MANU is the name of my 
workstation... Maybe there's something I don't understand... Is what I want 
to do possible?

Emmanuel




More information about the jcifs mailing list