[jcifs] Re: OutOfBounds exception in authenticate
Michael B Allen
ioplex at gmail.com
Thu Apr 30 20:42:04 GMT 2009
On Thu, Apr 30, 2009 at 3:35 PM, erez <erez_levav at newyorklife.com> wrote:
> Michael B Allen <ioplex <at> gmail.com> writes:
>
>
>> >
>> > I marked the line that blows up above.
>> > Since I checked and "challenge" is not null, and is longer then 8 bytes,
>> > I can only assume it is "type2" that is the problem -- but why????
>>
>> Maybe the problem is that suddenly your organization has switched to
>> NTLMv2 and that error is the effect of that on your particular use of
>> the code.
>>
>> Note that the entire technique you are using is deprecated and will be
>> removed from JCIFS. See the blue text at the top of the NTLM HTTP
>> Filter documentation for details.
>>
>> JCIFS does not support the server side of NTLM authentication. JCIFS
>> only supports what is required to act as a CIFS client.
>>
>> Mike
>>
>
> Mike,
>
> First, than you for the speedy response!
>
> Well, I asked that question (I understand the V2 "issue").
> They swear up & down they didn't.... Even thou the error sounds
> pretty close to what one might expect from the text.
>
> BTW, What is the time frame for that part of JCIFS to go away?
It will not be "removed" per-se but rather it will simply not be
propogated to 2.0. But 2.0 is on hold indefinitely for financial
reasons so I have no ETA.
> Are there any other possibilities for the error? Is there any chance that
> the current release can make a difference?
I don't know. But if you send me a packet capture I can very quickly
see if it's doing NTLMv2.
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
More information about the jcifs
mailing list