[jcifs] Bug in jCIFS Signing logic

Michael B Allen mba2000 at ioplex.com
Mon Jan 17 00:11:03 GMT 2005


>>>What this means is: if I haven't set the default password the code above
>>>suggests the behaviour I will get is to not do signing. However, because
<snip>
>> static final String BLANK = "";
>> static final Srting DEFAULT_PASSWORD = Con....client.password", BLANK);
>>
>> and then do:
>>
>> if (NtlmP...DEFAULT_PASSWORD != NtlmP...BLANK) {
>>    /* do preauth */
>>
>> Can you try it and tell me what happends?
>
> Made this exact fix and it seems to work beautifully.  I can now
> authenticate on Windows 2003 without getting the error I was getting
> before.

This has been incorporated into 1.1.7 to be released RSN.

Mike


More information about the jcifs mailing list