[jcifs] Authentication domain

SCHERUGA Horst horst.scheruga at capitalinvest.co.at
Wed May 29 23:17:46 EST 2002


How to I set a domain for authentication within an url?

The following works fine:
  jcifs.Config.setProperty("jcifs.smb.client.domain", "rznt");
  SmbFileInputStream in = new
SmbFileInputStream("smb://zebrascala:zebrascala@10.3.10.103/scala/Capitalinv
est/XBB0503100.000");

but I want to set the authentication domain within the url.
The following fails:
  SmbFileInputStream in = new
SmbFileInputStream("smb://rznt\\zebrascala:zebrascala@10.3.10.103/scala/Capi
talinvest/XBB0503100.000");
or
  SmbFileInputStream in = new
SmbFileInputStream("smb://rznt/zebrascala:zebrascala@10.3.10.103/scala/Capit
alinvest/XBB0503100.000");

So how do I set the authentication domain within the url correctly?

Thanks in advance
DI Horst Scheruga




More information about the jcifs mailing list