[jcifs] JCIFS 1.2.1 java.net.UnknownHostException: Failed to negotiate with a suitable domain controller

Krueger Ken J IT312 ken.krueger at siemens.com
Mon Aug 8 21:28:56 GMT 2005

I hope this is the correct place to post this question, if not please excuse me.

I'm having trouble using JCIFS 1.2.1 (and 1.2.0) on one machine, but not another.  My co-worker and I are both running a web application on Eclipse 3.1, jdk 1.4.2, Tomcat 4.1.31 and we're both taking our source from CVS so I'm fairly confident that our configurations are identical.  On my machine, JCIFS runs like a champ, here are my settings from web.xml:

		<filter-name>NTLM HTTP Authentication Filter</filter-name>
		<filter-name>NTLM HTTP Authentication Filter</filter-name>

However, my co-worker runs with these same settings and Jar file and gets this error:

java.net.UnknownHostException: Failed to negotiate with a suitable domain controller for WW007
	at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:124)
	at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:150)
	at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)

We can both ping the IP addresses I've listed for jcifs.netbios.wins, so I'm not sure that that could be the problem.  
I've tried setting the jcifs.http.domainController property to ORLA1DXA.  Works on mine, not on his.
Obviously, something is different between our two machines.  My problem is I'm not sure how to debug this kind of problem.  Any thoughts on how to troubleshoot this / things to try?


More information about the jcifs mailing list