[jcifs] NTLM HTTP authentication with multiple domains

Michael B Allen mba2000 at ioplex.com
Fri Mar 12 09:34:08 GMT 2004


Charly said:
>> It's only sent when "automatic" authentication is enabled (i.e., "log on
>> using current username and password" from IE options), as local
> That means if I cannot achieve "automatic" auth. then I must guess
> about the domain/domaincontroller (maybe improved by cookie)
> for the type-2 message ..and if in type-3 response the domain
> does not match I have to reiniate the handshake with the
> matching/correct domaincontroller?

I wouldn't bother with that too much. On big Intranets the workstation's
domain is not likely to be the same as the user's domain. Eric was just
correcting my false statement about that field.

Mike


More information about the jcifs mailing list