<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Has anyone experienced anything this problem before? I have tried alot of the approaches suggested on this mailing list (eg setting local network addresses, changing jcifs.resolveOrder and domainController properties) but none have worked.<br><br>I would appreciate any advice or troubleshooting tips that you may have.<br><br>Thanks,<br><br>Venn<br><br><hr id="stopSpelling">From: venn.hardy@hotmail.com<br>To: jcifs@lists.samba.org<br>Date: Mon, 27 Jul 2009 13:42:47 +1030<br>Subject: Re: [jcifs] Changing domain controller causes "UnknownHostException: Faoled to negotiate with suitable domain controller"<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


I forgot to mention before&nbsp;that I am using jcifs-1.1.11. But the same problem happens when I upgrade to jcifs-1.3.11<br>
&nbsp;<br>
Does anyone have any ideas on what&nbsp;might be causing this&nbsp;UnknownHostException: Failed to negotiate with suitable domain controller error?<br>&nbsp;<br>
<hr id="EC_stopSpelling">
From: venn.hardy@hotmail.com<br>To: jcifs@lists.samba.org<br>Date: Wed, 22 Jul 2009 17:13:10 +1030<br>Subject: [jcifs] Changing domain controller causes "UnknownHostException: Faoled to negotiate with suitable domain controller"<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Hello I have been using jcifs-1.1.11 in conjunction with a windows 2003 domain controller for some time now. Recently I have been doing some testing against a Windows 2008 domain controller and I have been having some problems with a line in my application: SmbSession.getChallengeForDomain();<br><br>That line causes this error:<br>java.net.UnknownHostException: Failed to negotiate with a suitable domain controller for TESTDOMAIN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at jcifs.smb.SmbSession.getChallengeForDomain(SmbSession.java:132)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at mypackage.cas.web.flow.ntlm.ProcessType1NtlmMessageAction.doExecute(ProcessType1NtlmMessageAction.java:74)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:204)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.springframework.webflow.AnnotatedAction.execute(AnnotatedAction.java:139)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.springframework.webflow.ActionExecutor.execute(ActionExecutor.java:58)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Truncated. see log file for complete stacktrace<br>&nbsp;<br>Does anyone have any ideas on what might have changed on the windows server 2008 domain controller to make this error occur? And the steps I can take to make it work again?<br>&nbsp;<br>Thanks<br>&nbsp;<br>My jcifs.properties file looks like this (it connects to the new domain controller where I have been doing my testing):<br>jcifs.smb.client.soTimeout=300000<br>jcifs.smb.client.domain=TESTDOMAIN<br>jcifs.netbios.cachePolicy=1200<br>jcifs.netbios.wins=newdomaincontroller1<br>jcifs.http.loadBalance=true<br>jcifs.util.loglevel=3<br>jcifs.resolveOrder=DNS,LMHOSTS,WINS,BCAST<br>&nbsp;<br>I did an ethereal packet sniff against the existing domain controller and this is what I get (it works):<br><br>With DOMAIN domain and pointing to existingdomaincontroller<br>Source&nbsp;Destination&nbsp;Protocol&nbsp;Info<br>MyPC&nbsp;existingdomaincontroller&nbsp;NBSS&nbsp;Session request, to *SMBSERVER&lt;20&gt; from JCIFS102_122_AA&lt;00&gt;<br>existingdomaincontroller&nbsp;MyPC&nbsp;NBSS&nbsp;Positive session response<br>MyPC&nbsp;existingdomaincontroller&nbsp;SMB&nbsp;Negotiate Protocol Request<br>existingdomaincontroller&nbsp;MyPC&nbsp;SMB&nbsp;Negotiate Protocol Response<br>MyPC&nbsp;existingdomaincontroller&nbsp;SMB&nbsp;Session Setup AndX Request, User: DOMAIN\RSTVHH; Tree Connect AndX, Path: <a>\\172.20.96.252\IPC$</a><br>existingdomaincontroller&nbsp;MyPC&nbsp;SMB&nbsp;Session Setup AndX Response; Tree Connect AndX<br>&nbsp;<br>However when I point to the new test domain controller, I get "Negative session response, Called name not present".<br>&nbsp;<br>With TESTDOMAIN domain and pointing to newdomaincontroller&nbsp;&nbsp;&nbsp;<br>Source&nbsp;Destination&nbsp;Protocol&nbsp;Info<br>MyPC&nbsp;newdomaincontroller1&nbsp;NBSS&nbsp;Session request, to *SMBSERVER&lt;20&gt; from JCIFS102_122_BC&lt;00&gt;<br>newdomaincontroller1&nbsp;MyPC&nbsp;NBSS&nbsp;Negative session response, Called name not present<br>MyPC&nbsp;newdomaincontroller1&nbsp;NBSS&nbsp;Session request, to TESTDOMAIN&lt;20&gt; from JCIFS102_122_BC&lt;00&gt;<br>newdomaincontroller1&nbsp;MyPC&nbsp;NBSS&nbsp;Negative session response, Called name not present<br>MyPC&nbsp;newdomaincontroller2&nbsp;NBSS&nbsp;Session request, to *SMBSERVER&lt;20&gt; from JCIFS102_122_BC&lt;00&gt;<br>newdomaincontroller2&nbsp;MyPC&nbsp;NBSS&nbsp;Negative session response, Called name not present<br>MyPC&nbsp;newdomaincontroller2&nbsp;NBSS&nbsp;Session request, to TESTDOMAIN&lt;20&gt; from JCIFS102_122_BC&lt;00&gt;<br>newdomaincontroller2&nbsp;MyPC&nbsp;NBSS&nbsp;Negative session response, Called name not present<br><br><br>
<hr>
Click Here <a href="http://a.ninemsn.com.au/b.aspx?URL=http://dating.ninemsn.com.au/search/search.aspx?exec%3Dgo%26tp%3Dq%26gc%3D2%26tr%3D1%26lage%3D18%26uage%3D55%26cl%3D14%26sl%3D0%26dist%3D50%26po%3D1%26do%3D2%26trackingid%3D1046138%26r2s%3D1&amp;_t=773166090&amp;_r=Hotmail_Endtext&amp;_m=EXT">View photos of singles in your area</a><br><hr>Check the daily blob for the latest on what's happening around the web <a href="http://windowslive.ninemsn.com.au/blog.aspx">What goes online, stays online</a><br /><hr />Find your next place with Ninemsn property <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=774152450&_r=Domain_tagline&_m=EXT' target='_new'>Looking for a place to rent, share or buy this winter?</a></body>
</html>