[jcifs] UnknownHosts..

jbaker-jcifs at javasystemsolutions.com jbaker-jcifs at javasystemsolutions.com
Thu Aug 17 14:25:08 GMT 2006


Hi,

I have another bizarre error:

[Thu Aug 17 14:50:20 CEST 2006] 
NameQueryRequest[nameTrnId=1,isResponse=false,op
Code=QUERY,isAuthAnswer=false,isTruncated=false,isRecurAvailable=false,isRecurDe
sired=true,isBroadcast=false,resultCode=0,questionCount=1,answerCount=0,authorit
yCount=0,additionalCount=0,questionName=MATERNA<1C>,questionType=0x0020,question
Class=IN,recordName=null,recordType=0x0000,recordClass=0x0000,ttl=0,rDataLength=
0]
[Thu Aug 17 14:50:20 CEST 2006] 00000: 00 01 01 00 00 01 00 00 00 00 00 00 
20 45
 4E 45  |............ ENE|
00010: 42 46 45 45 46 46 43 45 4F 45 42 43 41 43 41 43  |BFEEFFCEOEBCACAC|
00020: 41 43 41 43 41 43 41 43 41 43 41 42 4D 00 00 20  |ACACACACACABM.. |
00030: 00 01                                            |..              |

[Thu Aug 17 14:50:23 CEST 2006] ServletExec: caught exception - 
java.net.Unknown
HostException: MATERNA
[Thu Aug 17 14:50:23 CEST 2006] java.net.UnknownHostException: MATERNA
[Thu Aug 17 14:50:23 CEST 2006]         at 
jcifs.netbios.NameServiceClient.getAl
lByName(NameServiceClient.java:292)
[Thu Aug 17 14:50:23 CEST 2006]         at 
jcifs.netbios.NbtAddress.getAllByName
(NbtAddress.java:454)
[Thu Aug 17 14:50:23 CEST 2006]         at 
jcifs.smb.SmbSession.getChallengeForD
omain(SmbSession.java:95)
[Thu Aug 17 14:50:23 CEST 2006]         at 
jcifs.http.NtlmHttpFilter.negotiate(N
tlmHttpFilter.java:150)
[Thu Aug 17 14:50:23 CEST 2006]         at 
jcifs.http.NtlmHttpFilter.doFilter(Nt
lmHttpFilter.java:114)

In this instance, the host is only found if WINS is switched on, yet the 
domain name MATERNA is pingable (and resolvable) by the Windows DC.

It must be some Windows configuration issue because I've never seen this 
problem before, even when running jcfis on a machine that can not resolve 
any windows domain name (I assume the exception is being generated by 
jcifs because Windows can not negotiate the name?).



John



More information about the jcifs mailing list