[jcifs] NTLM Filter error message
Jeroen ter Voorde
j.tervoorde at home.nl
Tue Jan 18 08:20:33 GMT 2005
Michael B Allen wrote:
>>>Perhaps something like:
>>>
>>> 95 NbtAddress[] new_dc_list = NbtAddress.getAllByName( DOMAIN,
>>>0x1C, null, null );
>>> 96 if( new_dc_list == null) {
>>> 97 dc_list_expiration = System.currentTimeMillis() + 10000;
>>>/* 10sec */
>>> 98 throw new UnknownHostException( DOMAIN );
>>> 99 } else if( new_dc_list.length >= dc_list_range ) {
>>> 100 dc_list = new_dc_list;
>>> 101 }
>>>
>>>I'll look at this for the next minor rev.
>>>
>>>
>
>This has been incorporated into 1.1.7 to be released RSN.
>
>Mike
>
>
>
Hi,
I've tested this and it still seems to go wrong when all dcs in dc_list
become null because they don't
respond. This seems to fix it (in SmbSession.java):
141: // All dc's failed to respond.
142: dc_list_expiration = System.currentTimeMillis() + 10000; /*
10sec */
143: throw new UnknownHostException( "Failed to negotiate with a
suitable domain controller for " + DOMAIN );
144: }
Sorry for not detecting this earlier,
Jeroen
More information about the jcifs
mailing list