[jcifs] Re: jCIFS change

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Mon Jul 14 10:59:43 EST 2003


> -----Original Message-----
> From:	eglass1 at comcast.net [SMTP:eglass1 at comcast.net]
> 
> > > 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).
> 
	Well this would also only work if the webserver was a Windows machine or
	a machine running Samba winbind or similar. Also it might be a little slower.

	The "correct" solution is to provide a backup WINS server property and provide
	a domain by name.

	Mike




More information about the jcifs mailing list