[jcifs] jcifs.netbios.hostname and authentication

Michael B Allen mba2000 at ioplex.com
Wed Mar 15 16:45:50 GMT 2006

On Wed, 15 Mar 2006 12:11:53 -0000
"Paul Duncan" <Paul.Duncan at yolus.com> wrote:

> Hello,
> I have a Windows Domain with a policy restricting which users can log on
> to which workstations.  I am using jCIFS 1.2.7 to authenticate with
> hosts on this domain.  I see that the jcifs.netbios.hostname property
> has to be set to the correct hostname before SmbSession.logon(String
> hostname, NtlmPasswordAuthentication authenticator) is called.  Are
> there any plans to modify jCIFS so that SmbSession.logon() works
> correctly on such a Windows Domain without having to set the
> aforementioned property?  Is the requirement to set this property
> regarded as a bug in jCIFS?  Thanks.

Just put it in your properties file or set it in main() and
forgettaboutit. Why exactly are you having a problem?


More information about the jcifs mailing list