[jcifs] NTLM Filter error message

Jeroen ter Voorde j.tervoorde at home.nl
Fri Jan 7 15:00:05 GMT 2005


Hi,

I get the following exception after an unknown amount of time. The 
filter works correctly for a while but after a while (could be a couple 
of days) i get this error. The only way to get SSO to
work again is by restarting the server.

java.net.UnknownHostException: Failed to negotiate with a suitable 
domain controller for REINHP
    at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:139)
    at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:123)

The WINS and domain controller are accessible (otherwise it wouldn't 
work after a restart).
I'm using jcifs 1.1.6 with a samba 2.2.4 domain controller but a 
customer of ours has also
experienced the problem using jcifs 1.1.5 and a windows NT4 domain 
controller.

I'm using the following configuration:

        <init-param>
            <param-name>jcifs.smb.client.domain</param-name>
            <param-value>REINHP</param-value>
        </init-param>       
        <init-param>
            <param-name>jcifs.netbios.wins</param-name>
            <param-value>192.168.0.10</param-value>
        </init-param>

Any ideas? Thanks,
Jeroen ter Voorde


More information about the jcifs mailing list