[jcifs] Domain Controllers

Michael B Allen mba2000 at ioplex.com
Thu Feb 3 04:38:09 GMT 2005


MSDean at beckman.com said:
> I am using JCIFS to perform NTLM authentication in a Weblogic environment.
> I
> have created a custom authenticator, and the login method is included
> below.

You really should stick with the provided NtlmHttpFilter. It handles a
variety of unusual details.

> My question is, is it possible to avoid providing hard-coded domain
> controllers
> (dc) to the logon method?

Look at how the NtlmHttpFilter does it. You want chal =
SmbSession.getChallengeForDomain(domain) then use chal.dc and at least
you'll be resilant to DC failures.

Mike


More information about the jcifs mailing list