[jcifs] NTLM bugfix for jcifs

Michael B Allen mba2000 at ioplex.com
Thu Nov 25 18:09:19 GMT 2004


Platon Fomichev said:
> Hey guys.
>
> Just a bugfix for Type3 NTLM message in case LMv2 response is used.
> Domain name should be uppercased even in Type3 body as well:
>
>             if (domainName != null && domainName.length() != 0) {
>                 domain = unicode ?
>
> domainName.toUpperCase().getBytes("UnicodeLittleUnmarked") :
>                                              ^^^^^^^^^^^^
>                                 domainName.toUpperCase().getBytes(oem);

Ok. I'll test this in my env and apply if it works ok. Without this fix
does LMv2 not work ok? What's the error?

Thanks,
Mike



More information about the jcifs mailing list