[jcifs] Re: jCIFS change

eglass1 at comcast.net eglass1 at comcast.net
Mon Jul 14 07:36:23 EST 2003


> > Michael,
> >
> > Firstly I'd like to thank you for your work on jCIFS.  I'm still
> > experimenting with it, but it looks like the ideal solution for using NTLM
> > authentication in our next JSP intranet app.  One slight issue I have
> > noticed is that the jcifs.http.domainController property can only take a
> > single hostname.  This would provide a single point of failure in our app,
> > which is unacceptable to our users. To get around this issue I decided to
> > change jCIFS to accept the string "localhost" in this property.  This will
> > delegate the authentication to the local server (with is a win2k box in
> > our
> > case) and use the full list of backup domain controllers.
> 
> Just set jcifs.netbios.wins and use the domain name. Although there is
> also a "single point of failure" with this method as well; you can only
> specify one WINS server so if that goes down you're toast. That will need
> to be fixed but it's non-trivial so I'm leaving it for the next major
> release.

Can you get the same effect by specifying "127.0.0.1" as
jcifs.http.domainController"?  Even if that doesn't work you should be able
to specify the local box's netbios name (since that is effectively what the
patch does).

Eric



More information about the jcifs mailing list